Kesranids

The Kesranids (also Kasranids) were a dynasty of Persians that ruled over the Shirvan region of the Caucasus from 995 to 1382. They ruled the Kesranid Satrapy and the Sheikhdom of Derbent, the latter of which was a rump state of the former.

History
The term "Kasranids" comes from Kai Khosrow (also "Kay Khasraw"), the legendary king of the Kayanian dynasty of Iran. The term was also transliterated as "Kesranids", which is in modern use. They claimed to be successors to the Sassanids and the Kavanians, and Yazid III of Persia is said to have been the first Kesranid ruler when he took power in 991. The Kasranids established a marriage alliance with the House of Bagrationi and the Emirate of Derbent, the latter of which would be absorbed into the Kesranid Satrapy. Satrap Hushang of Kesranid Satrapy was their last ruler, dying in 1382.