attributive, al-Isfahani. According to Ibn Hazm (994–1064), some descendants of the last Umayyad caliph, Marwan b. Muhammad (691–750), al-Isfahani's ancestor, settled in Isfahan. However, it has to be borne in mind that the earliest information available regarding al-Isfahani's family history only dates to the generation of his great-grandfather, Ahmad b. al-Ḥaytham, who settled in Samarra sometime between 835–6 and 847. Based on al-Isfahani's references in the Kitab al-Aghani (hereafter, the Aghani), Ahmad b. al-Haytham seems to have led a privileged life in Sāmarrāʾ, while his sons were well-connected with the elite of the Abbasid capital at that time. His son, Abd al-Aziz b. Ahmad, was "one of the high ranking scribes in the days of al-Mutawakkil (r. 847–861) (min kibār al-kuttāb fī ayyām al-Mutawakkil)". Another son, Muhammad b. Ahmad (viz. al-Isfahani's grandfather), was associated with Abbasid officials, the vizier Ibn al-Zayyāt (d. 847), the scribe Ibrahim b. al-Abbas al-Ṣūlī (792–857), and the vizier Ubaydallah b. Sulayman (d. 901), along with the Ṭālibid notables, including al-Husayn b. al-Husayn b. Zayd, who was the leader of the Banu Hashim. The close ties with the Abbasid court continued with Muhammad's sons, al-Hasan and al-Husayn (al-Isfahani's father). In various places in the Aghani, al-Isfahani refers to Yahya b. Muhammad b. Thawaba (from the Al Thawaba) as his grandfather on his mother's side. It is often suggested that the family of Thawaba, being Shi'i, bequeathed their sectarian inclination to al-Isfahani. However, the identification of the Thawaba family as Shi'is is only found in a late source, Yaqut's (1178–1225) work. While many elite families working under the Abbasid caliphate were Shi'i-inclined, indeed allied with Alids or their partisans, there is no evidence that members of the Thawaba family embraced an extreme form of Shi'ism. In summary, al-Isfahani came from a family well-entrenched in the networks of the Abbasid elite, which included the officials and the Alids. Despite the epithet, al-Isfahani, it does not seem that the Isfahani family had a strong connection with the city of Isfahan. Rather, the family was mainly based in Sāmarrāʾ, from the generation of Ahmad b. al-Ḥaytham, and then Baghdad. In the seats of the caliphate, a few members of the al-Isfahani family worked as scribes, while maintaining friendship or alliance with other scribes, viziers and notables. Like many of the court elite, al-Isfahani's family maintained an amicable relationship with the offspring of Ali and allied with families, such as the