Following the Qatari–Bahraini War in 1868, British representatives signed another agreement with the Al Khalifas. It specified that the ruler could not dispose of any of his territory except to the United Kingdom and could not enter into relationships with any foreign government without British consent. In return the British promised to protect Bahrain from all aggression by sea and to lend support in case of land attack. More importantly the British promised to support the rule of the Al Khalifa in Bahrain, securing its unstable position as rulers of the country. Other agreements in 1880 and 1892 sealed the protectorate status of Bahrain to the British.