British Somaliland united with Trust Territory of Somalia on July 1st , 1960 .
The protectorate briefly obtained independence on June 26 , 1960 as the State of Somaliland before uniting with the Trust Territory of Somalia ( the former Italian Somaliland ) July 1 , 1960 to form the Somali Republic .