The Kasranids were a branch of the Shirvanshahs, who ruled the Shirvan region of the Caucasus for 387 years. The word "Kasra" was derived from legendary king Kai Khosrow of Iran, reflecting a shift in naming tradition from Arabic to Persian. The Kasranids name was part of an effort to break with their Arabic roots by claiming to be successors of the Sassanids and the Kayanian dynasty.
Yazid III Shirvanshah was accepted as the last of the Mazyadid dynasty and first of the Kasranids. He fathered eight children, five of which are named according to Persian customs. The Kasranids managed to establish alliances with the Bagrationi dynasty by marriage and with the Emirate of Derbent (whose line they would eventually absorb into the crown). They survived all invaders, notably the Seljuqs, the Ilkhanate, the Chupanids, and lastly, the Jalayirids as a vassal or tributary state. Shirvanshah Hushang was the last member of Kasranids. They were succeeded by House of Derbent, which was a junior branch of the Kasranids itself. Shervashidze was an early junior branch of Kasranids.
Rulers are shown in bold. Different colours represent different countries and branches. Notable dynastic alliances are shown.