Hasanak

حسنك الوزير

1032 CE · 423 AH

Hasanak, properly Abu Ali Hasan ibn Muhammad ibn Abbas, was the last vizier of Sultan Mahmud of Ghazna. Made governor of Khurasan at an early age, he went on pilgrimage in 414/1023 and on the way home accepted a robe of honour in Cairo from the Fatimid caliph al-Zahir, which made the Abbasid caliph al-Qadir suspect him of Fatimid sympathies. Mahmud appointed him vizier in 415/1024; after Mahmud's death in 421/1030 he was banished to Herat, tried, and strangled in 423/1032 1 2.

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Roles
Vizier · Politician
Era
The Buyid, Fatimid and Seljuk Era
Region
Persia & Central Asia

Life in time

975100010251050107511001125 c. c.
The Buyid, Fatimid and Seljuk Era · The Crusades, Ayyubids and Mamluks Contemporaries: Abd al-Malik Ibn Attash · Abd Allah ibn Yusuf al-Jurjani · Abdallah ibn Yasin al-Jazuli · Abu al-Hasan al-Ibadi · Abu al-Mahasin al-Ruyani

Overview

Hasanak, properly Abu Ali Hasan ibn Muhammad ibn Abbas, was the last vizier of Mahmud of Ghazna. 1 The Encyclopaedia of Islam gives his death as 423/1032. 2

Governor and pilgrim

The article says Hasanak became governor of Khurasan at an early age. He went on the pilgrimage in 414/1023 and, on the advice of others as reported by the chronicler Bayhaqi, returned by way of Cairo, where he accepted a robe of honour from the Fatimid caliph al-Zahir. 1

The Abbasid suspicion

Because of that robe, the Abbasid caliph al-Qadir suspected him of being an adherent of the Fatimid caliphate. After Hasanak returned to Ghazna, the caliph asked Mahmud to have him executed as a Qarmati; the article notes that this shows Baghdad then classed Fatimids and Qarmatis together. 1 Mahmud evidently thought the charge unfounded: he went so far as to make Hasanak vizier in 415/1024, while the previous vizier, Maymandi, was thrown into prison. He tried to calm the caliph by sending Baghdad the robe and other presents Hasanak had received. 1

Vizier of Mahmud

During the last six years of Mahmud's reign, the article says, Hasanak exerted a remarkable influence over him, but seems to have opposed Mahmud's son Mas'ud and to have supported the descendants of Mas'ud's brother Muhammad. 1

Fall and death

This brought about his downfall after Mahmud died on 23 Rabi II 421, 30 April 1030. He was banished to Herat at once and accused of offending Mas'ud. Chiefly through the efforts of the finance minister Abu Sahl Sawsani, he was tried on the old charge of being a Qarmati, and the caliph al-Qadir, apparently offended that his wishes of 415/1024 had gone unmet, interfered again. 1 2 Bayhaqi describes the trial in detail, in an account the article calls clearly sympathetic to Hasanak. Dressed only in a shirt, Hasanak was strangled on Wednesday 28 Safar 423, and his head was given in derision to Sawsani; his body stayed tied to a pillory for seven years. 2

The article's judgement

The article concludes that Hasanak did not die merely through court intrigue and the rivalry of Mahmud's two sons. In its view he was also a victim of the deep fear that the Abbasid caliphs and the Ghaznavids felt of an Ismaili revolution, a fear not without grounds given the subversive currents of fifth/eleventh-century western Asia and Persia, even if in individual cases it struck the innocent. 2

Dates and doubts

The article itself notes that 14 February 1032, the Gregorian date corresponding to 28 Safar 423, was a Monday, not a Wednesday, so the weekday and the date do not agree. 2 The museum therefore records the year 423/1032 only.

Career

These posts have no recorded dates, so they are listed here in words.

  • Vizier · Main post · Undated

Connections

Explore the connections

Related to
Mahmud of Ghazna· al-Qadir bi-llah Ahmad ibn Ishaq ibn al-Muqtadir· al-Zahir li-I'zaz Din Allah Ali ibn al-Hakim· Masud ibn Mahmud

People and things also explored

Kitāb al-Manāẓir composed· Al-Qadir's order of repentance for the Mu'tazila in Baghdad and Khurasan· Al-Qadir's recantation decree against the innovators (408 AH)· Ghazna· Mahmud of Ghazna· Masud ibn Mahmud· The Sa'diyya Madrasa of Nishapur· The Revolt of Abu Rakwa al-Umawi against al-Hakim

Sources

  1. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 3 p. 275
  2. Encyclopaedia of Islam, 2nd edition (Leiden: Brill, 1954–2008), 13 volumes , vol. 3 p. 276
Cite this page

islam.museum contributors. “Hasanak”. islam.museum, https://islam.museum/en/person/hasanak/. CC BY-SA 4.0. Last updated 2026-11-16.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

People

Prophets, companions, scholars, rulers, scientists, poets, travelers: women and men who shaped the story.
Related

Kitāb al-Manāẓir composed

In Cairo Ibn al-Haytham composed the Book of Optics, his greatest work — built on experiment rather than conjecture, and it remade the science of vision into the seventeenth century.