Бабек
Mazyar was shortly brought to Samarra, where he was executed. His body later became gibbeted with the body of the Khurramite Babak Khorramdin. Quhyar, who had just ascended the Qarinvand throne, however, was shortly killed by his own Dailamite soldiers because of his betrayal against Mazyar. Although many scholars considered the death of Quhyar as the fall of the Qarinvand dynasty, the dynasty continued to rule in parts of Tabaristan, and a certain Baduspan ibn Gurdzad is mentioned in 864 as the ruler of the Qarinvand dynasty