The First Kurdish Dynasties at War: Aishanids, Hasanwayhids, and Annazids (912–1117 CE)
- Hojîn Rostam

- May 25
- 6 min read
Introduction
As the Abbasid Caliphate weakened in the tenth century, the Kurdish highlands that had resisted imperial control for centuries finally produced something new: Kurdish states. For the first time in the Islamic era, Kurdish dynastic families — the Aishanids, the Hasanwayhids, and the Annazids — established autonomous principalities in the Zagros mountains and the Iran-Iraq frontier zone. These were not tribal chieftaincies; they were organised states with fortified capitals, standing armies, diplomatic networks, and the administrative machinery to govern territories spanning hundreds of kilometres.
The military history of these dynasties is a story of Kurdish leaders fighting on multiple fronts: against the Buyid Persian dynasty that claimed sovereignty over the region, against rival Kurdish dynasties competing for the same territory, and eventually against the Seljuk Turks whose westward expansion would sweep away the entire system of Kurdish, Persian, and Arab principalities that had emerged from the Abbasid decline.
Contents
The Aishanids: The First Kurdish Dynasty (912–961)
The Aishanids (also written Ishania) were the earliest Kurdish dynasty to establish autonomous rule in the Abbasid period. From their base in the central Zagros, their emirs Ghanim and Windad — sons of a chief named Ahmad — seized control of the districts of Dinawar, Hamadan, and Nahavand, wresting them from the weakening Abbasid caliphate. For approximately fifty years, they governed this territory independently, maintaining a Kurdish tribal army and resisting attempts by the central government to reassert control.
The Aishanids ultimately fell to a combination of Buyid military pressure and Kurdish rival ambition. The next generation of Aishanid emirs could not maintain control: Ghanim's son Dizam was defeated by Buyid armies, while Windad's son Abd al-Wahhab was captured by a rival Kurdish group and handed over to Hasanwayh ibn Husayn — the founder of the dynasty that would replace them. The Aishanids' fall illustrates a recurring theme in Kurdish political history: dynastic fragmentation and inter-Kurdish rivalry creating openings for outside powers.
The Rise of the Hasanwayhids (959–1015)
The Hasanwayhids were a Twelver Shia Kurdish dynasty drawn from the Barzikani tribal confederation. Their founder, Hasanwayh ibn Husayn, established control over the central Zagros after defeating the Aishanids, building a principality that stretched from Dinawar to Hamadan and Nahavand. From his fortified mountain stronghold at Sarmaj near Bisotun — close to the great Achaemenid rock relief — Hasanwayh governed a network of Kurdish fortresses, tribal alliances, and trade routes linking the Iranian Buyid heartlands to the Mesopotamian plains.
Hasanwayh's military career was defined by his relationship with the Buyid dynasty. He supported the Buyids against the Samanids, gaining political leverage, but also fought fiercely to maintain his autonomy. In 970, the Buyid governor of Hamadan, Sahlan ibn Musafir, attempted to bring Hasanwayh to heel. Hasanwayh met him with force and won — establishing the principle that the Hasanwayhids were allies, not subjects. A subsequent compromise guaranteed his autonomy in exchange for an annual tribute of 50,000 dinars — a vast sum that demonstrated both the wealth of the Kurdish principality and the Buyids' inability to impose direct control.
Badr ibn Hasanwayh: The Golden Age of Kurdish Power
The golden age of the Hasanwayhids came under Badr ibn Hasanwayh, who ruled from 979 to 1014. Badr came to power through Buyid intervention — after Hasanwayh's death, a succession war among his sons was exploited by the Buyid ruler Adud al-Dawla, who executed most of Hasanwayh's heirs and installed Badr as a client ruler. But when Adud al-Dawla died in 983, Badr retained his position and ruled effectively without challenge for the next thirty years.
Contemporary chroniclers described Badr as one of the most capable rulers of his era. He expanded Hasanwayhid territory to include Shapur-Khwast, Borujerd, Ahwaz, Ilam, Kermanshah, and Hulwan. He built mosques, madrasas, and markets — including a profitable commercial centre in Hamadan. He sheltered both Sunni and Shia scholars, paid pensions to the families of pilgrims who died on the hajj, and maintained a formidable army of Kurdish tribal cavalry that even the Buyids respected.
Badr's military reach was demonstrated in 1006 when he sent a force of 10,000 soldiers against the rival Annazid Kurdish dynasty, forcing its ruler Abu’l-Fath to flee to Baghdad and declare himself a Hasanwayhid vassal. But Badr's death in 1014 triggered the same pattern of succession crisis that had destroyed the Aishanids before him. His grandson Zahir was expelled within a year, and the Hasanwayhid territories were carved up between the Annazids, Buyids, and Kakuyids.
The Annazids: Frontier Warriors of the Iran-Iraq Border (990–1117)
The Annazids (Banu Annaz) were a Sunni Kurdish dynasty that controlled an oscillating territory on the Iran-Iraq frontier for approximately 130 years. Founded by Abu’l-Fath Muhammad ibn Annaz around 990, the dynasty drew its military support from the Shadhanjan Kurdish tribes and its political legitimacy from the Buyid amir Baha al-Dawla. Their territories at various points included Kermanshah, Hulwan, Dinavar, Shahrizor, Daquq, Khanaqin, and Mandali — a strategic corridor stretching across the frontier that is still divided between Iran and Iraq today.
The Annazids fought constantly: against the Arabian Banu Uqayl and Banu Mazyad tribes in the west, against the Hasanwayhids in the east, against rival branches of their own dynasty, and eventually against the advancing Seljuk Turks. In 999, Abu’l-Fath overthrew the local lord Zahman ibn Hendi at Khanaqin. In 1029, Annazid forces clashed with Oghuz Turkic raiders near Hamadan and Dinavar — an early encounter with the Turkic migrations that would transform the entire region.
The Seljuk Storm and the End of Kurdish Autonomy
In 1045, Seljuk Sultan Tughril Beg sent his half-brother Ibrahim Inal westward with a major military force. The Kurdish governor of Hamadan fled without a fight. The Annazid ruler Husam al-Dawla Abu’l-Shawk retreated from Dinavar to Kermanshah, and then to the citadel of Sirwan on the Diyala river, where a large number of Kurdish fighters rallied around him. But the united Kurdish defence was not enough. Ibrahim Inal’s forces captured Hulwan and Mahidasht, attacked Khanaqin, and destroyed what they could not hold.
The Annazid dynasty lingered on in diminished form, its territory shrinking with each generation. Internal feuds between rival branches further weakened any capacity for coordinated resistance. By 1117, Annazid power had effectively ended, absorbed into the Seljuk-era political order. The era of independent Kurdish dynasties in the central Zagros was over — though it had lasted for more than two hundred years and produced rulers like Badr ibn Hasanwayh who were celebrated across the Islamic world.
Legacy
The Aishanids, Hasanwayhids, and Annazids proved that Kurdish political ambition could produce functioning states, not just tribal resistance. They built castles, governed cities, collected taxes, patronised scholars, and maintained armies that could challenge regional powers. They also demonstrated the vulnerabilities that would plague Kurdish political organisation for centuries: succession crises, inter-dynastic warfare, and the inability to form lasting alliances with neighbouring Kurdish states when external threats appeared.
The Sarmaj castle near Bisotun, built by the Hasanwayhids, still stands in ruins today — a physical reminder that Kurds once governed this territory as sovereign rulers. The Iran-Iraq frontier that the Annazids fought to control is the same frontier that divides Kurdish populations today. The dynasties are gone, but the geography and the struggle for Kurdish autonomy within it have not changed.
Key Events and Timeline
c. 912 CE — Aishanid dynasty established; Kurdish emirs Ghanim and Windad seize Dinawar, Hamadan, and Nahavand from the Abbasid Caliphate
c. 959–961 CE — Aishanids fall; Hasanwayh ibn Husayn defeats them and founds the Hasanwayhid dynasty
970 CE — Hasanwayh defeats Buyid governor Sahlan ibn Musafir; secures autonomy in exchange for 50,000 dinars annual tribute
979 CE — Hasanwayh dies; Buyid ruler Adud al-Dawla executes most heirs and installs Badr ibn Hasanwayh
c. 990 CE — Annazid dynasty founded by Abu’l-Fath Muhammad ibn Annaz at Hulwan
1006 CE — Badr ibn Hasanwayh sends 10,000 soldiers against the Annazids; Abu’l-Fath forced into vassalage
1014 CE — Badr ibn Hasanwayh dies; Hasanwayhid dynasty collapses in succession crisis
1029 CE — Annazid forces clash with Oghuz Turkic raiders near Hamadan and Dinavar
1045 CE — Seljuk commander Ibrahim Inal invades Annazid territory; captures Hulwan and Khanaqin
1117 CE — Annazid power effectively ends; Kurdish principalities of the central Zagros absorbed into the Seljuk order
Frequently Asked Questions
Who were the Hasanwayhids?
The Hasanwayhids were a Twelver Shia Kurdish dynasty of the Barzikani tribe who ruled a principality in the central Zagros mountains from approximately 959 to 1015. Their greatest ruler, Badr ibn Hasanwayh (979–1014), was celebrated across the Islamic world for his justice, piety, and political skill.
Who were the Annazids?
The Annazids were a Sunni Kurdish dynasty that ruled territories on the Iran-Iraq frontier from approximately 990 to 1117. Their territory included Kermanshah, Hulwan, Dinavar, Shahrizor, and Khanaqin. They were rivals of the Hasanwayhids and were eventually destroyed by the Seljuk Turkish invasions of the eleventh century.
What ended the first Kurdish dynasties?
The Kurdish dynasties of the Abbasid decline were destroyed by a combination of internal succession crises, inter-Kurdish warfare, and the westward expansion of the Seljuk Turks. The Seljuk invasions of the 1040s shattered the remaining Kurdish principalities in the central Zagros, absorbing them into the new Turkic-dominated political order.
References and Further Reading
Encyclopaedia Britannica — Hasanwayhid Dynasty
Encyclopaedia Iranica — Annazids (Banu Annaz), 1985
Bosworth, C.E. — Iran Under the Buyids, Cambridge History of Iran, Vol. 5, 1975
Gunter, M.M. — Historical Dictionary of the Kurds, 2010
KurdishPeople.org — Annazids
Wikipedia — Hasanwayhids, Annazids, and List of Kurdish Dynasties
Comments