sentences:  The Empire received assistance from its close ally the Ottoman Empire, and with the import of firearms through the Muzzaffar port of Mogadishu, the army began acquiring muskets and cannons.The Ottomans would also remain a key ally during the Ajuran-Portuguese wars.Horses used for military purposes were also raised in the interior, and numerous stone fortifications were erected to provide shelter for the army in the coastal districts.