The protectorate gained its independence on 26 June 1960 as the State of Somaliland, before uniting as planned days later with the Trust Territory of Somaliland (the former Italian Somaliland) to form the Somali Republic.