Idris al-Wathiq

Marrakech had been besieged earlier by the Marinid sultan Abu Yusuf Yaqub ibn Abd Al-Haqq before 1266, although unsuccessfully.

Idris took advantage of the confused situation to oust his cousin Abu Hafs Umar al-Murtada with Abu Yusuf's support, and to declare himself Almohad caliph, although his power barely extended outside the city.

However, the Marinid ruler changed his mind eventually, spurring the Zayyanid Yaghmurasen Ibn Zyan to attack Marrakech.

Idris al-Wathiq was captured by the combined Marinid-Zayyanid forces and executed.

[citation needed] Idris' death marked the end of the Almohad Caliphate.