Marinid dynasty
The Battle of Algeciras was a naval battle which occurred on July 25, 1278. The battle pitted the fleets of the Kingdom of Castile, commanded by the Admiral of Castile, Pedro Martínez de Fe, and the combined fleets of the Marinid dynasty and that of the Emirate of Granada, commanded by Abu Yaqub Yusuf an-Nasr. The battle was fought in the context of the Moorish naval expeditions to the Iberian Peninsula. The battle, which took place in the Strait of Gibraltar, resulted in a Muslim victory.