The eastern seaboard of Borneo was charted, though not settled, by the Portuguese in the early 16th century. The area of Sarawak was known to Portuguese cartographers as Cerava, and by the early 19th century, Sarawak had become a loosely governed territory under the control of the Brunei Sultanate.
Sarawak, 1598
According to the Salasilah Raja-Raja Brunei, the Pengiran Muda Tengah Ibrahim Ali Omar Shah, better known as Raja Tengah, accepted the offer by his elder brother, the Sultan of Brunei, to be the Sultan of Sarawak in 1598. He brought along 1,000 warriors and a coterie of nobilities to help him administer the new country.
In 1599, while returning from Pahang, Sultan Tengah’s storm-lashed ship ran aground in Sukadana in West Kalimantan, Indonesia. He stayed and married there. On his return to Sarawak, he was killed by one of his followers at present day Kampung Batu Buaya in Santubong.
At the beginning of the 19th century, Brunei’s Sultan, Omar Ali Saif-Udin sent Pangiran Mahkota to Kuching to be the Governor of Sarawak. In 1836, the Malays and Land Dayaks (now known as the Bidayuhs) of the Sarawak River basin revolted and proclaimed their independence from Brunei.
Sultan of Brunei, Sultan Omar Ali
The Sultan sent his uncle, Raja Muda Hashim, the Bendahara of Brunei, to put down the rebellion. However, it was unsuccessful as Pangiran Mahkota’s earlier appointment as the Governor was not withdrawn, resulting in a chaotic authority. At the same time, the rebellion led by Datu Patinggi Ali against the Brunei levies under Mahkota escalated. It was at the height of this unrest that a British adventurer and an exsoldier James Brooke first arrived in Kuching in 1839.