Brunei–Malaysia border 1901 (ceded to the British North Borneo Company which subsequently transferred the territory to Sarawak in 1904). The treaty between the Sultanate and Britain in 1888, which resulted in Brunei becoming a British Protectorate, did not manage to halt the loss of territory. The annexation of the Baram, Trusan and Limbang areas resulted in the current borders of Brunei, with the Limbang annexation, which Brunei had continuously refused to recognise, fragmenting the Sultanate into two non-contiguous territories. Malaysia inherited these borders with Brunei when Sarawak, which had also become a British Protectorate in 1888 and subsequently a Crown Colony after
Brunei–Malaysia border portion of the South China Sea that is subject to multiple overlapping claims by China, Taiwan and Vietnam. Malaysia is also a claimant in the area but a bilateral agreement with Brunei has solved the overlapping claims over Brunei's territorial waters. From west to east, the Brunei–Malaysia border begins where the watershed of the Baram and Belait river basins meet the South China Sea at a point six nautical miles (11 km) east of Tanjung Baram with coordinates . It then travels along the watershed of the two river basins for about 30 km to the Pagalayan Canal. It then