 The many castles and fortresses such as the Sha'a Castle, the Bandar Qassim Castles and the Botiala Fortress Complex and dozens of others in towns such as Qandala, Bosaso and Las Khorey were built under their rule.The Dervish State in the late 19th and early 20th centuries was another prolific fortress building power in the Somali Peninsula.In 1913, after the British withdrawal to the coast, the permanent capital and headquarters of the Dervishes was constructed at Taleh, a large walled town with fourteen fortresses.