Hasanwayhids

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.

[4] He would ultimately control much of Lorestan,[7] Dinavar, Nahavand and Hamadan and was powerful to such degree in which the Buyids refrained from disturbing him.

[2] 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.

[6] 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.

Coins issued by the Hasanwayhid dynasty.