between Fakhr ad-Dawla and the Seljuk administration involving a delay in exchanging robes of honor. When Alp Arslan died in 1072, the Banu Jahir were tasked with overseeing the official mourning as well as the ceremonial exchange of loyalty and robes of honor between al-Qa'im and the new Seljuk sultan Malik-Shah I. On 26 September 1073, Fakhr ad-Dawla oversaw the signing of the controversial Hanbali scholar Ibn Aqil's public recantation of his beliefs at the caliphal chancery. This document of retraction is the only one of its kind to survive in full from the middle ages to the present day; the episode marked the ascendancy of traditionalism in Baghdad in the 11th century. During this and the previous caliphs' period, literature, especially Persian literature, flourished under the patronage of the Buwayhids. The famous philosopher al-Farabi died in 950; al-Mutanabbi, acknowledged in the East as the greatest of Arabic poets, and himself an Arab, in 965; and the Persian Abu Ali Husayn ibn Abdallah ibn Sina (Avicenna) in 1037. In 1058 in Bahrain, a dispute over the reading of the khutba in Al-Qa'im's name between members of the Abd al-Qays tribe and the millenarian Ismaili Qarmatian state prompted a revolt led by Abu al-Bahlul al-Awwam that threw off Qarmatian rule and led to the unravelling of the Qarmatian state which finally collapsed in al-Hasa in 1067. Family Al-Qa'im's wife was Chaghri Beg's daughter Khadija Arslan Khatun. She had been betrothed to Zahir al-Din, son of Al-Qa'im. However, Zahir al-Din died, and Khadija Arslan married Al-Qa'im in 1056. After Al-Qa'im's death in 1075, she married Ali ibn Faramurz. The elder son of al-Qa'im was Zahir al-Din. Another son was Muhammad, father of his successor Al-Muqtadi. His daughter was Sayida bint al-Qa'im, also known as Sayida Khatun, she married sultan Tughril. Death When al-Qa'im was on his deathbed in 1075, Fakhr ad-Dawla took charge of his personal care - al-Qa'im did not want bloodletting but Fakhr ad-Dawla had it done anyway. Before he died, al-Qa'im advised his grandson and successor al-Muqtadi to keep the Banu Jahir in their position: "I have not seen better persons for the dawla than Ibn Jahir and his son; do not turn away from them." Al-Qa'im died in 1075 at the age of 73–74. He was succeeded by his grandson Al-Muqtadi as the twenty-seventh Abbasid Caliph. Al-Muqtadi was born to Muhammad Dhakirat ibn al-Qa'im, and an Armenian slave