أبو يوسف
The Marinid emir Abu Yusuf Yaqub laid his first siege of Marrakesh in 1262, but it failed. He thereupon struck a deal with Abu Dabbus, the cousin of the Almohad caliph, to conquer it for them. Abu Dabbus captured Marrakesh in 1266, but refused to hand it over to the Marinids, forcing Abu Yusuf Yaqub to come down and lay siege to it himself. The Marinids finally captured the city in September 1269. The Almohad remnant retreated to the Atlas stronghold of Tinmel and continued putting up resistance until they were finally defeated in 1276.