In 1888, after signing successive treaties with the then ruling Somali Sultans and chiefs, the British established a protectorate in the region referred to as British Somaliland with Berbera becoming the capital. The British garrisoned the protectorate from Aden in present-day Yemen, and administered it from their British India until 1898. British Somaliland was then administered by the Foreign Office until 1905 and afterwards by the Colonial Office. 