Yusuf ibn Tashfin
Yusuf ibn Tashfin captured Tangier for the Almoravids in 1077. It fell to Abd al-Mumin's Almohads in the 1147 and then flourished under his dynasty, with its port highly active.