Brunei, officially Brunei Darussalam, is a country in Southeast Asia, situated on the northern coast of the island of Borneo. Apart from its coastline on the South China Sea, it is completely surrounded by the Malaysian state of Sarawak, with its territory bifurcated by the Sarawak district of Limbang. Brunei is the only sovereign state entirely on Borneo; the remainder of the island is divided between its multi-landmass neighbours of Malaysia and Indonesia. , the country had a population of 466,330, being the least populated country in Asia of whom approximately 64,409 resided in the capital and largest city of Bandar Seri Begawan. Its official language is Malay, and Sunni Islam is the state religion of the country, although other religions are nominally tolerated. The government of Brunei is an absolute monarchy ruled by the Sultan, and it implements a fusion of English common law and jurisprudence inspired by Islam, including sharia.

At the Sultanate of Brunei's peak during the reign of Sultan Bolkiah (1485–1528), the state is claimed to have had control over most of Borneo, including modern-day Sarawak and Sabah, as well as the Sulu archipelago and the islands off the northwestern tip of Borneo. There are also claims to its historical control over Seludong, which scholars believe is either Mount Selurong, in Indonesia,Abinales, Patricio N. and Donna J. Amoroso, State and Society in the Philippines. Maryland: Rowman and Littlefield, 2005. or Serudong River in eastern Sabah. The maritime state of Brunei was visited by the surviving crew of the Magellan Expedition in 1521, and in 1578 it fought against Spain in the Castilian War.

During the 19th century, the Bruneian Empire began to decline. The Sultanate ceded 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 in 1906 was assigned a British resident as colonial manager. After the Japanese occupation during World War II, a new constitution was written in 1959. In 1962, a small armed rebellion against the monarchy, which was indirectly related to the Indonesia–Malaysia confrontation, was ended with British assistance and led to the ban of the pro-independence Brunei People's Party. The revolt also influenced the Sultan's decision not to join the Malaysian Federation while it was being formed. Britain's protectorate over Brunei ended on 1 January 1984, when Brunei became a fully sovereign state.

Brunei has been led by Sultan Hassanal Bolkiah since 1967. The country's unicameral legislature, the Legislative Council, is simply consultative and all its members are appointed by the Sultan. The country's wealth derives from its extensive petroleum and natural gas fields. Economic growth during the 1990s and 2000s has transformed Brunei into an industrialised country, with its gross domestic product (GDP) increasing 56% between 1999 and 2008. Political stability is maintained by the House of Bolkiah by providing a welfare state for its citizens, with free or significant subsidies in regards to housing, healthcare and education. It ranks "very high" on the Human Development Index (HDI)—the second-highest among Southeast Asian states after Singapore, with which it maintains close relations including a Currency Interchangeability Agreement. According to the International Monetary Fund (IMF), Brunei is ranked seventh in the world by gross domestic product per capita at purchasing power parity. Brunei is a member of the United Nations, the World Trade Organization, the East Asia Summit, the Organisation of Islamic Cooperation, the Non-Aligned Movement, the Commonwealth of Nations, and the Association of Southeast Asian Nations (ASEAN).

Etymology 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 (), meaning "seafarers". The word "Borneo" is of the same origin.

In the country's full name of , the word () means "Abode of Peace", while means "country" in Malay. A shortened version of the official Malay name, "Brunei Darussalam", has also entered common usage, particularly in official contexts, and is present in the United Nations Group of Experts on Geographical Names geographical database, as well as official ASEAN and Commonwealth listings.

The earliest Western mention of Brunei is from the Bolognese traveller Ludovico di Varthema in 1550:

History

Early history

Areas comprising what is now Brunei participated in the Maritime Jade Road, as ascertained by archaeological research. The trading network existed for 3,000 years, between 2000 BC to 1000 AD.. The settlement known as Vijayapura was a vassal-state to the Buddhist Srivijaya empire and was thought to be located in Borneo's Northwest which flourished in the 7th Century. Vijayapura itself upon earlier in its history, was a rump state of the fallen multi-ethnic: Austronesian, Austroasiatic and Indian, Funan Civilization; previously located in what is now Cambodia. citing Ferrand. Relations, page 564-65. Tibbets, Arabic Texts, pg 47. This alternative Srivijaya known as Vijayapura referring to Brunei, was known to Arabic sources as "Sribuza".

One of the earliest Chinese records of an independent kingdom in Borneo is the 977 AD letter to the Chinese emperor from the ruler of Boni, which some scholars believe to refer to Borneo. The Bruneians regained their independence from Srivijaya due to the onset of a Javanese-Sumatran war.Coedes, Indianized States, Page 128, 132. In 1225, the Chinese official Zhao Rukuo reported that Boni had 100 warships to protect its trade, and that there was great wealth in the kingdom. Marco Polo suggested in his memoirs that the Great Khan or the ruler of the Mongol Empire, attempted and failed many times in invading “Great Java”, which was the European name for Bruneian controlled Borneo.Journal of Southeast Asian Studies Vol. 14, No. 1 (Mar. 1983) Page 40. Published by: Cambridge University Press.

According to Wang Zhenping, in the 1300s, the Yuan Dade nanhai zhi or "Yuan dynasty Dade period southern sea records" reported that Brunei conquered or administered Sarawak and Sabah as well as the Philippine kingdoms of Butuan, Sulu, Ma-i (Mindoro), Malilu 麻裏蘆 (Manila), Shahuchong 沙胡重 (Siocon or Zamboanga), Yachen 啞陳 Oton, and 文杜陵 Wenduling (Mindanao), which would regain their independence at a later date.

In the 14th century, the Javanese manuscript Nagarakretagama, written by Prapanca in 1365, mentioned Barune as the constituent state of Hindu Majapahit, which had to make an annual tribute of 40 katis of camphor. In 1369, Sulu which was also formerly part of Majapahit, had successfully rebelled and then attacked Boni, and had invaded the Northeast Coast of BorneoMing shi, 325, p. 8411, p. 8422. and afterwards had looted the capital of its treasure and gold including sacking two sacred pearls. A fleet from Majapahit succeeded in driving away the Sulus, but Boni was left weaker after the attack. A Chinese report from 1371 described Boni as poor and totally controlled by Majapahit. When the Chinese admiral Zheng He visited the Brunei in the early 15th century, he founded a major trading port which included Chinese people who were actively trading with China.

During the 15th century, Boni had seceded from Majapahit and then converted to Islam. Thus transforming into the independent Sultanate of Brunei. Brunei became a Hashemite state when she allowed the Arab Emir of Mecca, Sharif Ali, to become her third sultan.

As customary for close affiliation and alliances in Southeast Asia, the royal family of Luzon intermarried with the ruling houses of the Sultanate of Brunei. Intermarriage was a common strategy for Southeast Asian states to extend their influence. However, Islamic Brunei's power was not uncontested in Borneo since it had a Hindu rival in a state founded by Indians called Kutai in the south which they overpowered but never destroyed.

Nevertheless, by the 16th century, Islam was firmly rooted in Brunei, and the country had built one of its biggest mosques. In 1578, Alonso Beltrán, a Spanish traveller, described it as being five stories tall and built on the water.

War with Spain and decline Brunei briefly rose to prominence in Southeast Asia when the Portuguese occupied Malacca and thereby forced the wealthy and powerful but displaced Muslim refugees there to relocate to nearby Sultanates such as Brunei. The Bruneian Sultan then intervened in a territorial conflict between Hindu Tondo and Muslim Manila in the Philippines by appointing the Bruneian descended Rajah Ache of Manila as admiral of the Bruneian navy in a rivalry against Tondo and as the enforcer of Bruneian interests in the Philippines. He subsequently encountered the Magellan expeditionde Aganduru Moriz, Rodrigo (1882). Historia general de las Islas Occidentales a la Asia adyacentes, llamadas Philipinas. Colección de Documentos inéditos para la historia de España, v.78–79. Madrid: Impr. de Miguel Ginesta. wherein Antonio Pigafetta noted that under orders from his grandfather the Sultan of Brunei, Ache had previously sacked the Buddhist city of Loue in Southwest Borneo for being faithful to the old religion and rebelling against the authority of Sultanate.Tom Harrisson, Brunei's Two (or More) Capitals, Brunei Museum Journal, Vol. 3, No. 4 (1976), p. 77 sq. However, European influence gradually brought an end to Brunei's regional power, as Brunei entered a period of decline compounded by internal strife over royal succession. In the face of these invasions by European Christian powers, the Ottoman Caliphate aided the beleaguered Southeast Asian Sultanates by making Aceh a protectorate and sending expeditions to reinforce, train and equip the local mujahideen.Kayadibi, Saim. "Ottoman Connections to the Malay World: Islam, Law and Society", (Kuala Lumpur: The Other Press, 2011) Turks were routinely migrating to Brunei as evidenced by the complaints of Manila Oidor Melchor Davalos who in his 1585 report, say that Turks were coming to Sumatra, Borneo and Ternate every year, including defeated veterans from the Battle of Lepanto.Melchor Davalos to the King, Manila 20 June 1585, in Lewis Hanke, Cuerpo de Documentos del Siglo XVI sobre los derechos de España en las Indias y las Filipinas (Mexico 1977), pp 72, 75.

Spain declared war in 1578, planning to attack and capture Kota Batu, Brunei's capital at the time. This was based in part on the assistance of two Bruneian noblemen, Pengiran Seri Lela and Pengiran Seri Ratna. The former had travelled to Manila, then the centre of the Spanish colony. Manila itself was captured from Brunei, Christianised and made a territory of the Viceroyalty of New Spain which was centered in Mexico City. Pengiran Seri Lela came to offer Brunei as a tributary to Spain for help to recover the throne usurped by his brother, Saiful Rijal. The Spanish agreed that if they succeeded in conquering Brunei, Pengiran Seri Lela would be appointed as the sultan, while Pengiran Seri Ratna would be the new Bendahara.