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 and Sabah, Malaysia, on the other. All three territories were then ruled by Britain. The powers for the order in council were derived from the British Colonial Boundaries Act of 1895. Brunei and Malaysia still adhere to the British Orders in Council to define their territorial waters, where it was referred to in the Joint Statement made after the 18th Annual Leaders' Consultation between the Sultan of Brunei and Prime Minister of Malaysia on 3 November 2014 when reference was made to the Sarawak (Definition of Boundaries) Order in Council 1958 No 1518 as part of the boundary definition process