scribes (kuttāb, sing. kātib); imams or preachers (khuṭabāʾ, sing. khaṭīb); religious scholars (of the ḥadīth, the Qurʾānic recitations and exegeses, or jurisprudence) and judges; poets; and akhbārīs (transmitters of reports of all sorts, including genealogical, historical, and anecdotal reports). The variety of the narrators and their narrations enriched al-Iṣfahānī's literary output, which covers a wide range of topics from amusing tales to the accounts of the Alids' martyrdom. His erudition is best illustrated by Abu Ali al-Muhassin al-Tanukhi's (941–994) comment: "With his encyclopaedic knowledge of music, musicians, poetry, poets, genealogy, history, and other subjects, al-Iṣfahānī established himself as a learned scholar and teacher." He was also a scribe and this is not surprising, given his families’ scribal connections, but the details of his kātib activities are rather opaque. Although both al-Tanūkhī and al-Baghdādī refer to al-Isfahani with the attribute, kātib, they mention nothing of where he worked or for whom. The details of his occupation as a scribe only came later, with Yaqut, many of whose reports about al-Isfahani prove problematic. For instance, a report from Yaqut claims that al-Isfahani was the scribe of Rukn al-Dawla (d. 976) and mentions his resentment towards Abū al-Faḍl b. al-ʿAmīd (d. 970). However, the very same report was mentioned by Abū Ḥayyān al-Tawḥīdī (active tenth century) in his Akhlāq al-wazīrayn, where the scribe of Rukn al-Dawla is identified as Abū al-Faraj Ḥamd b. Muhammad, not Abū al-Faraj al-Isfahani. Thus, it is hard to know with certainty how and where al-Isfahani was engaged in his capacity as a kātib. Nevertheless, al-Isfahani's association with the vizier, Abū Muḥammad al-Muhallabī (903–963), is well-documented. The friendship between the two began before al-Muhallabī's became vizier in 950. The firm relationship between them is supported by al-Isfahani's poetry collected by al-Thaʿālibī (961–1038): half of the fourteen poems are panegyrics dedicated to al-Muhallabī. In addition, al-Isfahani's own work, al-Imāʾ al-shawāʿir (“Enslaved Women Who Composed Poetry”), is dedicated to the vizier, presumably, al-Muhallabī. His no longer surviving Manājīb al-khiṣyān (“The Noble Eunuchs”), which addresses two castrated male singers owned by al-Muhallabī, was composed for him. His magnum opus, the Aghānī, was very likely intended for al-Muhallabī, as well. In return for his literary efforts, according to al-Tanūkhī, al-Isfahani frequently received rewards from the vizier. Furthermore, for the sake of their long-term friendship and out of his respect for al-Isfahani's genius, al-Muhallabī exceptionally tolerated al-Isfahani's uncouth manners and poor personal hygiene. The