|Part of series on
Kurdish history and culture
Hasanawayhid or Hasanuyid (Arabic: حسنویه, Kurdish: Dewleta Hesnewiyan) was a Kurdish principality from 959 to 1015, centered at Dinawar (northeast of present-day Kermanshah). The principality ruled western Iran and upper Mesopotamia. The founder of the dynasty was Hasanwayh bin Husayn from the Kurdish tribe of Barzikani. He managed to successfully resist Sahlan ibn Musafir, the Buyid governor of Hamadan, and the Buyid vizier, Ibn Al-Amed. In 970 he reached a compromise with Amed's successor which guaranteed his autonomy. Hasanwayh died in 979 at Sarmaj, located in south of Bisitun.
After Hasanwayh's death, conflict broke out between several of his sons. The intervention of [Buyid Mu'ayyad al-Dawla of Ray led to defeat of Fakhr al-Dawla, one of Hasanwayh's sons. Then another heir, Abul-Najm Badr (Nasir al-Dawla), was installed as the leader of Bazikani Kurds, and the principality became a vassal of the Buyids. Abul-Najm expanded Hasanwayhid control to Shapur-Khwast, Dinawar, Nahavand, Asadabad, Borujerd, Ahwaz, Ilam, Kermanshah, Hulwan and Sharazur (Kirkuk).
Around 1006, the principality came into conflict with the Annazids to the west. Abul-Najm Badr finally died in a minor battle in 1014. The principality was conquered by Abul-Shawk, the Annazid ruler. However the princely family continued to rule their stronghold at Sarmaj until the Seljuk Ibrahim Inal entered their territory in 1047.
 Hasanwayhid Ruler
- Abu al-Fuwaris Hasanwayh ibn Huosayn al-Barzikani (959/961–980)
- Abu al-Najm Nssir ad-Din Badr ben Hasanwayh (981–1014)
- Tahir ibn Hilal ibn Badr (1014–1015)
 See also
- M. Gunter, Michael (2011). Historical dictionary of the Kurds.
- Lokman I. Meho,Kelly L. Maglaughli (1968). Kurdish culture and society: an annotated bibliography.