1278 The Merinids drive the remaining Almohads from Spain.

1281 Alfonso allies himself with the Merinids to suppress a revolt in Castile.

1285 Death of Abu Yusuf.

1292 The Castilians take Tarifa, after defeating the Moorish fleet at Tangiers.

1294 Unsuccessful attempt of the Moors to recapture Tarifa. The Merinids finally withdraw from Spain.

1302 Death of Muhammed. His son Muhammed (III) Abu Abdallah succeeds.

1308 Capture of Gibraltar by Ferdinand IV of Castile. Treaty with the Granadans, who renounce some of their territory.

1309 Revolt in Granada. Muhammed is compelled to resign the throne to his brother Nasir Abu Abdallah. The rebellion continues, and

1313 Nasir is deposed by his nephew Ismail Feraj. He has constant wars with the Christians.