1104 Baldwin takes Tripolis.

1129 Emir put to death by partisans of Afdal, whose son Abu Ali Akhmed usurps government, making Hafidh, grandson of Mustansir, nominal caliph.

1149 Dhafir, son of Hafidh, succeeds to caliphate. After short reign, on account of his licentiousness is in

1154 assassinated by his vizir. Succeeded by Al-Faïz, only five years old. Reign filled with contentions of rival vizirs.

1160 Death of Faïz, succeeded by Adid, grandson of Hafidh, and last of Fatimite caliphs. Contentions of vizirs continue.

1162 Adil, son of Adid, dispossesses Shawir of his government in Upper Egypt. Shawir marches against Adil, kills him, and makes himself vizir in his place. Is put to flight by Al-Dirgham, and takes refuge with Nur ad-Din.

1163 Nur ad-Din sends army under Shirkuh to reinstate Shawir. Dirgham defeated, and Shawir restored. He soon throws off allegiance to Nur ad-Din, and allies himself with crusaders. Shirkuh withdraws.

1165 Nur ad-Din again sends Shirkuh to Egypt with a great army, accompanied by Saladin. Battle at Al-Babain, victory of invaders. Alexandria falls into their hands. Crusaders oppose them; Adid beseeches aid from Nur ad-Din. Shirkuh sent again. Shirkuh and Saladin enter Cairo. Shirkuh appointed vizir by Adid; on his death, succeeded

1169 by Saladin as vizir.