The Hasanwayhids were a Kurdish ruling family whose power developed in the central Zagros during the tenth century. Their history centres on Hasanwayh, his son Badr and a contested succession involving the Buyids and Annazids. The loss of their main principality around 1015 must be distinguished from the family’s continued possession of Sarmaj until 1047.

Ruined pointed arches and broad stone piers of Kashkan Bridge beside green fields in Lorestan
Kashkan Bridge, Lorestan, 26 April 2016. Its inscription names Badr ibn Hasanwayh; the surviving structure includes later repairs. The photograph shows the masonry, not the inscription. Kiavash Safarian; CC BY-SA 4.0. © Kiavash Safarian · Wikimedia Commons · CC BY-SA 4.0.

A dynasty of the western Iranian highlands

The family’s power lay around Kermanshah and Dinawar, with the fortified site of Sarmaj south of Bisotun as an important base. Jean Calmard’s regional history traces their reach from Dinawar toward Shahrazur. [1] This was a landscape of towns, passes and strongholds linking Mesopotamia with the Iranian plateau. The principality’s history belongs within the changing political relationships of that region; its territories cannot be represented accurately by assigning a permanent modern national border to every place mentioned in a chronicle.

Hasanwayh, Badr and Buyid recognition

Hasanwayh belonged to the Kurdish Barzikani tribe. Alireza Anisi describes the family’s ability to sustain power through alliances in struggles between Buyid rulers. [2] Hasanwayh’s son Badr ruled conventionally from 979 to 1014. Hamza Kaka Yaseen’s study emphasises that Buyid recognition helped establish Hasanwayhid emirs, while Badr’s own military resources made him an influential partner. [3] Their relationship combined dependence and bargaining. Badr was the founder’s son, and the family’s diplomacy developed within wider Iranian and Iraqi politics.

Hilal’s rebellion preceded Badr’s death

Hilal ibn Badr was already challenging his father during Badr’s lifetime. Yaseen describes Hilal’s seizure of power and imprisonment of Badr around 400 AH/1009–1010. Badr appealed to the Buyid Baha al-Dawla; an intervention led by Fakhr al-Mulk defeated Hilal and restored his father. [3] The struggle began before Badr’s death. The episode shows how an internal family struggle could bring outside military intervention into the principality. Claims to inheritance became entangled with regional alliances.

Tahir and the Annazid advance

After Badr’s death in 1014, the Annazid Abu al-Shawk moved into Kermanshah. Abdülkerim Özaydın’s account describes the Buyid Shams al-Dawla releasing Badr’s grandson Tahir ibn Hilal to counter him. Tahir pushed Abu al-Shawk back toward Hulwan; reconciliation and a marriage connection followed, but the Annazid ruler subsequently attacked and killed him in 406 AH/1015–1016. [4] Tahir’s struggle was part of an extended contest among related and neighbouring powers.

Kashkan Bridge and the evidence of building

Badr’s public works have a material record. Anisi’s architectural study records the Kashkan Bridge inscription naming Abu al-Najm Badr ibn Hasanwayh ibn al-Husayn: work began in 389 AH/998–999 and finished in 399 AH/1008–1009. He also identifies inscriptions of 374 AH/984–985 at Kalhur Bridge. [2] Visit Iran reports that the Kashkan inscription was transferred to the Falak ol-Aflak Museum after damage during road construction. [5] These named, dated monuments connect patronage with actual routes and river crossings. They document investment in communications across a mountainous region.

Why the story continues beyond 1015

The loss of the principal territories did not mean that every family holding disappeared immediately. Calmard records continued Hasanwayhid possession of Sarmaj until 1047, while describing the Annazids’ expansion and the later Seljuk incursions into the region. [1] The distinction explains why accounts may use different endpoints: the collapse of a substantial principality and the survival of a family stronghold are different events. Hasanwayhid history is consequently a history of regional power, changing alliances, inheritance and infrastructure, with several stages of political contraction.

Sources and further reading

  1. Jean Calmard, Kermanshah iv. History to 1953, Encyclopaedia Iranica XVI/3 (2017), pp. 319–324; medieval regional history and Sarmaj until 1047.
  2. Alireza Anisi, Early Islamic Architecture in Iran (637–1059), University of Edinburgh doctoral thesis, title-page 2007; pp. 29–30 and 229–233, Hasanwayhids and Kashkan Bridge inscription.
  3. Hamza Kaka Yaseen, The Internal and External Relations of the Hasanwayhid Emirate during the Rule of Badr ibn Hasanwayh, IIUM Journal of Religion and Civilisational Studies 7/2 (2024), pp. 175–184, especially p. 181. DOI 10.31436/ijrcs.v7i2.336.
  4. Abdülkerim Özaydın, Annâzîler, TDV İslâm Ansiklopedisi (1991); Tahir ibn Hilal, Abu al-Shawk and the events of 406 AH.
  5. Visit Iran, Kashkan Bridge; Kufic inscription naming Badr, museum transfer and surviving structure.
  6. Kiavash Safarian, Kashkan Bridge, 26 April 2016; own photograph, CC BY-SA 4.0, Wikimedia Commons.