Hasanwayhid dynasty
• Established
• Disestablished
Preceded by
Succeeded by
Buyid dynasty
Great Seljuq Empire

Hasanwayhids or Hasanuyid was a powerful Shia[1] Kurdish dynasty reigning the western parts of Iran such as Iranian Azerbaijan and Zagros Mountains between Shahrizor and Khuzestan from c. 959 to 1015.[2][3] The last Hasanwayhid ruler died in 1015 in Sarmadj, south of Bisotun, as the Seljuks began entering the region.[3]

Aishanid predecessors

The Hasanwayhids were preceded in the region by the Aishanid or 'Ishaniya Kurdish tribe. This particular group had ruled territories in the districts of Dinawar, Hamadan and Nahavand. Their emirs Ghanim and Windad (sons of a certain Ahmad) had usurped the rule from the Abbasid caliphate for fifty years, until their death in 960–1. The next generation of Aishanid emirs couldn't keep the control of their family castles: Ghānim’s son Daysam was defeated by the Buyid armies, and Windād’s son ʿAbd al-Wahhāb, was taken prisoner by a rival Kurdish group, and handed to the first Hasanwayhid ruler, Hasanwayh. He was a maternal nephew of Ghanim and Windad, and he obtained the castles of their Aishanid relatives.[4]


The name of the dynasty was an eponym to their first ruler Hasanwayh ibn Husayn from the Barzikani tribe. A vassal of the Buyid dynasty,[5] Hasanwayh supported them against the Samanids which enabled him in gaining some power.[3] He would ultimately control much of Lorestan,[6] Dinavar, Nahavand and Hamadan and was powerful to such degree in which the Buyids refrained from disturbing him.[7] The influence of Hasanwayh reached Azerbaijan.[1]

Coins issued by the Hasanwayhid dynasty.

After his death in 979, his son Badr ibn Hasanwayh became ruler and achieved notable gains including imposing order, developing a strong financial administration, building roads and markets in the mountains, securing the safety of pilgrims crossing his territory and striking coins.[3] Like his father, he continued to pledge his allegiance to the Buyids.[5]

Badr ibn Hasanwayh was succeeded by his grandson Zahir in 1014 but only kept power for a year as he was expelled by Buyid Shams al-Dawla and shortly after killed.[7] The Annazids took large parts of its western territory and became their immediate successors. The eastern parts were taken by the Buyids, while the Kakuyids took the southern portions. All of the formerly held Hasanwayhids territory was ultimately taken by Tughril.[1]

The Sarmaj Castle was built by the Hasanwayhids.[1]


See also


  1. ^ a b c d Azakai (2017).
  2. ^ James (2019), p. 22.
  3. ^ a b c d Gunter (2010), p. 117.
  4. ^ Tor (2017), p. 54–55.
  5. ^ a b Bosworth 1996, p. 158.
  6. ^ Vanly (1976), p. 353.
  7. ^ a b Lane-Poole (1894), p. 138.