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
Geography of Malaysia districts. There are separate subdivisions for electoral districts for polling purposes. International borders between Malaysia and Indonesia, Thailand, Singapore and Brunei are defined mostly by geological features such as the Perlis River and Golok River between Malaysia and Thailand; Straits of Johor between Malaysia and Singapore; and Pagalayan Canal between Malaysia and Brunei. However, borders that extends to the seas are defined by agreements such as Straits Settlement and Johore Territorial Waters Agreement of 1927 which defines Malaysia and Singapore water borders. Malaysia's land borders are well established. The border with Thailand was established in 1909 when Siam ceded Kedah,