Sultan Hashim Jalilul Alam Aqamaddin appealed to the British to stop further encroachment by the Brookes. The "Treaty of Protection" was negotiated by Sir Hugh Low and signed into effect on 17 September 1888. The treaty said that the sultan "could not cede or lease any territory to foreign powers without British consent"; it provided Britain effective control over Brunei's external affairs, making it a British protected state (which continued until 1984). But, when the Raj of Sarawak annexed Brunei's Pandaruan District in 1890, the British did not take any action to stop it. They did not regard either Brunei or the Raj of Sarawak as 'foreign' (per the Treaty of Protection). This final annexation by Sarawak left Brunei with its current small land mass and separation into two parts.