Sabah () is a state of Malaysia located in northern Borneo, in the region of East Malaysia. Sabah has land borders with the Malaysian state of Sarawak to the southwest and Indonesia's North Kalimantan province to the south. The Federal Territory of Labuan is an island just off Sabah's west coast. Sabah shares maritime borders with Vietnam to the west and the Philippines to the north and east. Kota Kinabalu is the state capital and the economic centre of the state, and the seat of the Sabah State government. Other major towns in Sabah include Sandakan and Tawau. The 2020 census recorded a population of 3,418,785 in the state. It has an equatorial climate with tropical rainforests, abundant with animal and plant species. The state has long mountain ranges on the west side which forms part of the Crocker Range National Park. Kinabatangan River, the second longest river in Malaysia runs through Sabah. The highest point of Sabah is Mount Kinabalu, which is also the highest point of Malaysia.

The earliest human settlement in Sabah can be traced back to 20,000–30,000 years ago along the Darvel Bay area at the Madai-Baturong caves. The state has had a trading relationship with China starting from the 14th century AD. Sabah came under the influence of the Bruneian Empire in the 14th and 15th centuries. The state was subsequently acquired by the British North Borneo Chartered Company in the 19th century. During World War II, North Borneo was occupied by the Japanese for three years. It became a British Crown Colony in 1946. On 31 August 1963, the newly-renamed Sabah was granted self-governance by the British. Following this, Sabah became one of the founding members of the Federation of Malaysia (established on 16 September 1963) alongside the Crown Colony of Sarawak, the Colony of Singapore (expelled in 1965), and the Federation of Malaya (Peninsular Malaysia or West Malaysia). The federation was opposed by neighbouring Indonesia, which led to the Konfrontasi over three years along with the threats of annexation by the Philippines along with the Sultanate of Sulu, threats which continue to the present day.

Sabah has a diversity in ethnicity, culture and language. The head of state is the governor, also known as the Yang di-Pertua Negeri, while the head of government is the chief minister and his Cabinet. The government system is closely modelled on the Westminster parliamentary system and has one of the earliest state legislature systems in Malaysia. Sabah is divided into five administrative divisions and 27 districts. Malay is the official language of the state; and Islam is the state religion, but other religions may be practised. Sabah is known for its traditional musical instrument, the sompoton. Sabah has abundant natural resources, and its economy is strongly export-oriented. Its primary exports include oil, gas, timber and palm oil. The other major industries are agriculture and ecotourism.

Etymology The origin of the name Sabah is uncertain, and many theories have arisen. One theory is that when it was part of the Bruneian Sultanate, it was referred to as Saba because of the presence a variety of banana called pisang saba (also known as pisang menurun), which are grown widely on the coast of the region and popular in Brunei. The Bajau community referred to it as pisang jaba.

Additionally, during the Majapahit era, when Brunei was a vassal state of Majapahit, the Old Javanese eulogy of Nagarakretagama described the area in what is now Sabah as Seludang.

Although the Chinese since the Han dynasty had been associated with the island of Borneo, they did not have any specific names for the area. Instead during the Song dynasty, they referred to the whole island as Po Ni (also pronounced Bo Ni), which is the same name they used to refer to the Sultanate of Brunei at the time. Due to the location of Sabah in relation to Brunei, it has been suggested that Sabah was a Brunei Malay word meaning upstream or "in a northerly direction". Another theory suggests that it came from the Malay word sabak which means a place where palm sugar is extracted.

It is nicknamed "Land Below the Wind" (Negeri Di Bawah Bayu in Malay language) as the state lies below the typhoon belt of East Asia and is not often hit by typhoons.

History

Prehistory

The earliest known human settlement in the region existed 20,000–30,000 years ago, as evidenced by stone tools and food remains found by excavations along the Darvel Bay area at Madai-Baturong caves near the Tingkayu River. The earliest inhabitants in the area were thought to be similar to Aboriginal Australians, but the reason for their disappearance is unknown. In 2003, archaeologists discovered the Mansuli valley in the Lahad Datu District, which dates back 235,000 years. The archaeological site at Skull Hill (Bukit Tengkorak) in Semporna District was the largest pottery making site in Neolithic Southeast Asia.

Sultanates of Brunei and Sulu influences During the 7th century AD, a settled community known as Vijayapura, a tributary to the Srivijaya empire, was thought to have existed in northwest Borneo. The earliest independent kingdom in Borneo, supposed to have existed from the 9th century, was Po Ni, as recorded in the Chinese geographical treatise Taiping Huanyu Ji. It was believed that Po Ni existed at the mouth of Brunei River and was the predecessor to the Bruneian Empire. When China was conquered by the Mongol Empire, all Chinese vassal states were subsequently controlled by the Mongol emperors of China. Early in 1292, Kublai Khan is said to have sent an expedition to northern Borneo, before departing for the invasion of Java in 1293. As a result of this campaign, it is believed that many of his followers in addition to other Chinese traders eventually settled and established their own enclave at Kinabatangan River.

In the 14th century, Brunei and Sulu were part of the Majapahit Empire but in 1369, Sulu and the other Philippine kingdoms successfully rebelled and Sulu even attacked Brunei which was still a Majapahit tributary, the Sulus specifically invaded Northeast Borneo at SabahMing shi, 325, p. 8411, p. 8422. the Sulus were then repelled but Brunei became weakened. In 1370, Brunei transferred its allegiance to Ming dynasty China. The Maharaja Karna of Borneo then paid a visit to Nanjing with his family until his death. He was succeeded by his son Hsia-wang who agreed to send tribute to China once every three years. After that, Chinese junks came to northern Borneo with cargoes of spices, bird nests, shark fins, camphor, rattan and pearls. More Chinese traders eventually settled in Kinabatangan, as stated in both Brunei and Sulu records. A younger sister of Ong Sum Ping (Huang Senping), the governor of the Chinese settlement then married Sultan Ahmad of Brunei. Perhaps due to this relationship, a burial place with 2,000 wooden coffins, some estimated to be 1,000 years old, were discovered in Agop Batu Tulug Caves and around the Kinabatangan Valley area. It is believed that this type of funeral culture was brought by traders from Mainland China and Indochina to northern Borneo as similar wooden coffins were also discovered in these countries. This was in addition to the discovery of Chinese ceramics from a shipwreck at the Tip of Borneo estimated to be from between 960 and 1127 AD from the Song dynasty and the Vietnamese Đông Sơn drum in Bukit Timbang Dayang on Banggi Island that was between 2,000 and 2,500 years old.

During the reign of Sultan Bolkiah of Brunei between 1485 and 1524, the sultanate extended over northern Borneo and the Sulu Archipelago, as far as Kota Seludong (present-day Manila) with its influence extending as far of Banjarmasin, taking advantage of maritime trade after the fall of Malacca to the Portuguese. Many Brunei Malays migrated to Sabah during this period, beginning after the Bruneian conquest of the territory in the 15th century. But plagued by internal strife, civil war, piracy and the arrival of western powers, the Bruneian Empire began to shrink. The first Europeans to visit Brunei were the Portuguese, who described the capital of Brunei at the time as surrounded by a stone wall. The Spanish followed, arriving soon after Ferdinand Magellan's death in 1521, when the remaining members of his expedition sailed to the islands of Balambangan and Banggi in the northern tip Borneo; later, in the Castilian War of 1578, the Spanish who had sailed from New Spain and had taken Manila from Brunei, unsuccessfully declared war on Brunei by briefly occupying the capital before abandoning it. The Sulu region gained its independence in 1578, forming the Sultanate of Sulu.

When the civil war broke out in Brunei between sultans Abdul Hakkul Mubin and Muhyiddin, the Sultan of Sulu asserted their claim to Brunei's territories in northern Borneo. The Sulus claimed that Sultan Muhyiddin had promised to cede the northern and eastern portion of Borneo to them in compensation for their help in settling the civil war. The territory seems have not been ceded formally, but the Sulus continued to claim the territory, with Brunei weakened and unable to resist. After the war with the Spanish, the area in northern Borneo began to fall under the influence of the Sulu Sultanate. The seafaring Bajau-Suluk and Illanun people then arrived from the Sulu Archipelago and started settling on the coasts of north and eastern Borneo, many of them fleeing from the oppression of Spanish colonialism. While the thalassocratic Brunei and Sulu sultanates controlled the western and eastern coasts of Sabah respectively, the interior region remained largely independent from either kingdoms. The Sultanate of Bulungan's influence was limited to the Tawau area, which came under the influence of the Sulu Sultanate before gaining its own rule after the 1878 treaty between the British and Spanish governments.

British North Borneo

In 1761, Alexander Dalrymple, an officer of the British East India Company, concluded an agreement with the Sultan of Sulu to allow him to set up a trading post in northern Borneo, although this was to prove a failure. Following the British occupation of Manila in 1763, the British freed Sultan Alimuddin of Sulu from the Spanish and allowed him to return to his throne; this was welcomed by the Sulu people and by 1765, Dalrymple managed to obtain Balambangan Island off the north coast of Borneo, having concluded a Treaty of Alliance and Commerce with the Sultan Alimuddin as a sign of gratitude for the British aid. A small British factory was then established in 1773 on the island. The British saw the island as a suitable location to control the trade route in the East, capable of diverting trade from the Spanish port of Manila and the Dutch port of Batavia especially with its strategic location between the South China Sea and Sulu Sea. But the British abandoned the island two years later when Sulu pirates began attacking. This forced the British to seek refuge in Brunei in 1774, and to temporarily abandon their attempts to find alternative sites for the factory. Although an attempt was made in 1803 to turn Balambangan into a military station, the British did not re-establish any further trading posts in the region until Stamford Raffles founded Singapore in 1819.