Sharaf al-Ma'ali Sama' al-Mulk al-Husayn ibn al-Afdal was a son of the Fatimid vizier and quasi-sultan, al-Afdal Shahanshah.[1]
Husayn commanded the Fatimid army in the Second (1102) and Third (1105) Battles of Ramla against the Crusaders of the Kingdom of Jerusalem, although some confusion exists since different titles are given by the chronicles for each: Sharaf al-Ma'ali for 1102, and Sama' al-Mulk for 1105, leading to the mistaken assumption by some medieval and modern historians that different sons of al-Afdal were involved in each.[2] In 1115, the increasingly ill and feeble al-Afdal appointed him as his deputy and heir-presumptive. However, after a failed assassination attempt in 1118, al-Afdal suspected his sons of being responsible for it, and withdrew all privileges, income, and personnel assigned to his sons, thus ending the prospect of a dynastic succession.[1][3] After al-Afdal's assassination in December 1121, his adult sons were confined in the caliphal palace to prevent them from rallying their followers and seize power; instead, Caliph al-Amir, with the assistance of al-Afdal's chief of staff, and now successor as vizier, al-Ma'mun al-Bata'ihi, took control of the government.[3][4] Husayn's fate after that is unknown, but he was likely killed, along with most of his brothers, by the new vizier.[5]