Brunei, officially the Nation of Brunei, the Abode of Peace (Negara Brunei Darussalam, Jawi: ), is a country located on the north coast of the island of Borneo in Southeast Asia. Apart from its coastline with the South China Sea, the country is completely surrounded by the Malaysian state of Sarawak. It is separated into two parts by the Sarawak district of Limbang. Brunei is the only sovereign state completely on the island of Borneo; the remainder of the island's territory is divided between the nations of Malaysia and Indonesia. Brunei's population was in.
At the peak of the Bruneian Empire, Sultan Bolkiah (reigned 1485–1528) is alleged to have had control over most regions of Borneo, including modern-day Sarawak and Sabah, as well as the Sulu Archipelago off the northeast tip of Borneo, Seludong (modern-day Manila), and the islands off the northwest tip of Borneo. The maritime state was visited by Spain's Magellan Expedition in 1521 and fought against Spain in the 1578 Castilian War.
During the 19th century, the Bruneian Empire began to decline. The Sultanate ceded Sarawak (Kuching) to James Brooke and installed him as the White Rajah, and it ceded Sabah to the British North Borneo Chartered Company. In 1888, Brunei became a British protectorate and was assigned a British resident as colonial manager in 1906. After the Japanese occupation during World War II, in 1959 a new constitution was written. In 1962, a small armed rebellion against the monarchy was ended with the help of the British.
Brunei gained its independence from the United Kingdom on 1 January 1984. Economic growth during the 1990s and 2000s, with the GDP increasing 56% from 1999 to 2008, transformed Brunei into an industrialised country. It has developed wealth from extensive petroleum and natural gas fields. Brunei has the second-highest Human Development Index among the Southeast Asian nations, after Singapore, and is classified as a "developed country". According to the International Monetary Fund (IMF), Brunei is ranked fifth in the world by gross domestic product per capita at purchasing power parity. The IMF estimated in 2011 that Brunei was one of two countries (the other being Libya) with a public debt at 0% of the national GDP. Forbes also ranks Brunei as the fifth-richest nation out of 182, based on its petroleum and natural gas fields.
According to local historiography, Brunei was founded by Awang Alak Betatar, later to be Sultan Muhammad Shah, reigning around AD 1400. He moved from Garang in the Temburong District to the Brunei River estuary, discovering Brunei. According to legend, upon landing he exclaimed, Baru nah (loosely translated as "that's it!" or "there"), from which the name "Brunei" was derived. He was the first Muslim ruler of Brunei. Before the rise of the Bruneian Empire under the Muslim Bolkiah Dynasty, Brunei is believed to have been under Buddhist rulers.
It was renamed "Barunai" in the 14th century, possibly influenced by the Sanskrit word "" (वरुण), meaning "seafarers". The word "Borneo" is of the same origin. In the country's full name, Negara Brunei Darussalam, darussalam (دار السلام) means "abode of peace", while negara means "country" in Malay.
The earliest recorded documentation by the West about Brunei is by an Italian known as Ludovico di Varthema, who also said the "Bruneian people have fairer skin tone than the peoples he met in Maluku Islands". On his documentation back to 1550;
We arrived at the island of Bornei (Brunei or Borneo), which is distant from the Maluch about two hundred miles, and we found that it was somewhat larger than the aforesaid and much lower. The people are pagans and are men of goodwill. Their colour is whiter than that of the other sort ... in this island justice is well administered ...