Мариниды
After the Nasrids of Granada ceded the town of Algeciras to the Marinids, Abu Yusuf went to Al-Andalus to support the ongoing struggle against the Kingdom of Castile. The Marinid dynasty then tried to extend its control to include the commercial traffic of the Strait of Gibraltar.