Hargeisa was founded as a watering and trading stop between the coast and the interior and later became an Islamic Tariqa settlement under the leadership of Sheikh Madar and his mullahs. In 1960, the protectorate gained independence and united as scheduled days later with the Trust Territory of Somaliland (former Italian Somaliland) to form the Somali Republic on July 1.