His father belonged to the landed gentry of Bayhaq (1). He grew up studying Arabic grammar, trained himself in penmanship and chancery practice, served for a time in Ghaznah, and his career advanced until he was appointed vizier to Sultan Alp Arslan and then to the latter’s son, Malikshah. He administered their realms with exemplary competence, reduced oppressive levies, treated the subjects kindly, endowed charitable trusts, and leading scholars migrated to his court; his standing only increased, and he remained in office for twenty years.
He received hadith from al-Qushayrī, Abū Muslim ibn Mihrabzud (2), and Abū Ḥāmid al-Azharī. Those who narrated from him include ʿAlī ibn Ṭirād al-Zaynabī, Naṣr ibn Naṣr al-ʿUkbarī, and a number of others.
He was a man of virtue and God-consciousness, inclined toward the righteous and humble before their admonitions; he delighted in anyone who would show him his own faults, whereupon he would be moved to tears.
He was born in 408 AH, and was killed while fasting in Ramadan. A Bāṭinī assassin came to him disguised as a Sufi, handed him a petition, and as he took it the man stabbed him in the heart with a dagger, so he died; the assassin was then slain. This took place on the night of Friday in 485 AH, near Nihāwand. His last words were: “Do not kill my assassin; I have pardoned him. There is no god but Allah.” (3)
Ibn Khallikān (4) said: “Niẓām al-Mulk once entered upon the caliph al-Muqtadī bi-Llâh…”