The Portuguese Empire was unsuccessful in conquering Mogadishu permanently, despite the city being destroyed by a powerful naval Portuguese commander called João de Sepúvelda. After the Battle of Benadir, a peace treaty was signed.