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
Indonesia–Malaysia border between the two countries for this segment of their maritime border. The border follows the equidistant line between the baselines of Indonesia and Malaysia and Point 20 is the equidistant point between Indonesia, Malaysia and Vietnam (see table below). Point 20 is the western terminus of the Indonesia-Vietnam continental shelf boundary which the two countries agreed to in 2003 and the easternmost point of the area of overlapping claims between Malaysia and Vietnam. The southern termninus of the continental shelf boundary lies to the east of Pedra Branca which was disputed between Malaysia and Singapore and eventually awarded to Singapore