Mogadishu
The Sultanate of Mogadishu was a Muslim city-state on the Banaadir coast of southern Somalia. In 1337 it was an Ajuran client under the Fakhr al-Din dynasty; Ibn Battuta had visited Sultan Abu Bakr ibn Shaikh Umar in 1331.
Mogadishu sent envoys to Ming China and received Zheng He's fleet in the early fifteenth century. Portuguese bombardment forced the sultan to make peace in 1542. Around 1600 the Muzaffar dynasty took over as Ajuran clients; the Abgaal overthrew them in the late seventeenth century and incorporated the city into the Hiraab Imamate.