In 1097 he captured Tyre from the Seljuks, and in 1098 he took Jerusalem, expelling its Artuqid governor Ilghazi and installing in his place the Fatimid official Iftikhar al-Dawla.
When it became apparent that the Crusaders would not rest until they had control of the city, al-Afdal marched out from Cairo, but was too late to rescue Jerusalem, which fell on 15 July 1099.
[5] Al-Afdal marched out every year to attack the nascent Kingdom of Jerusalem, and in 1105 attempted to ally with Damascus against them, but was defeated at the Third Battle of Ramla.
Ibn al-Qalanisi describes him as "a firm believer in the doctrines of Sunnah, upright in conduct, a lover of justice towards both troops and civil population, judicious in counsel and plan, ambitious and resolute, of penetrating knowledge and exquisite tact, of generous nature, accurate in his intuitions, and possessing a sense of justice which preserved him from wrongdoing and led him to shun all tyrannical methods."
[6] While he was not harmed, his health deteriorated from that time, leading to assigning his brother Ja'far the task of adding the official, calligraphic signature to documents, while in 1115, he designated his son, Sama' al-Mulk Husayn, as his deputy (and thus heir-apparent).
However, the contemporary Syrian chronicler Ibn al-Qalanisi states that the murder was the work of the Caliph al-Amir, and of al-Afdal's chief of staff, al-Ma'mun al-Bata'ihi, who would succeed him as vizier.
[8] At the same time, al-Amir moved quickly to confiscate al-Afdal's enormous wealth, houses, and estates, and brought the moveable items to his own palace.
So great was the treasure amassed by al-Afdal that chroniclers describe it as larger than that of any previous king, and it took forty days to move it to the caliph's palace.
[11] The large vizieral palace (Dar-al-Mulk) that was built on the shore of the Nile, outside the city walls of Cairo, has also disappeared without a trace.