remaining Trucial states, acting under the British Agency at Dubai. Foreign relations in Muscat were conducted by a Consul-General, who was also, administratively, answerable to the resident in Bahrain. Through his political agents the resident preserved close connections with Persian Gulf rulers – simultaneously protecting their political and economic interests and the British government's on the basis of established treaties and agreements. According to Rupert Hay, the sheikhs enjoyed control over internal affairs, with Britain "ordinarily only exercises control in matters involving negotiations or the possibility of complications with foreign powers, such as civil aviation, posts and telegraphs." However, Hay added that "constant advice and encouragement are… offered to various rulers regarding improvement of their administrations and development of their resources, mostly in an informal manner". The resident also administered British extraterritorial jurisdiction, which had been exercised in certain Persian Gulf territories since 1925. Extraterritorial jurisdiction was ceded to Britain in the 19th century by virtue of informal agreements with various rulers. In Muscat it was based on formal agreements that were renewed periodically. Extraterritorial jurisdiction was originally applied to all resident classes in Persian Gulf states, but was later limited to British subjects, Commonwealth nationals and non-Muslim foreigners. Britain relinquished extraterritorial jurisdiction in Kuwait on 4 May 1961, transferring jurisdiction over all classes of foreigners to Kuwaiti courts. British extraterritorial jurisdiction in the Persian Gulf was implemented in accordance with the British Foreign Jurisdiction Acts of 1890–1913, which empowered the Crown to establish courts and legislate for the categories of persons subject to jurisdiction by means of Orders in Council. Regarding the resident's role in concluding concession agreements between rulers and foreign oil companies, Hay says: 'The oil companies naturally bulk largely in the political resident's portfolio. He has to closely watch all negotiations for new agreements or the amendment of existing agreements and ensure that nothing is decided which will seriously affect the position or the rulers of the British government…' The same author also refers to what he terms political agreements, to which, he says, oil companies’ are all bound… with the British government… in addition to their concession agreements with the rulers…' 'One of the main objects of these', he continues, 'is to ensure that their relations with the rulers in all matters of importance are conducted through, or with, the knowledge of British political officers'. Protectorates under the Residency Trucial States, precursor of the United