▁that ▁entered ▁Tab ar istan ▁from ▁all ▁sides . ▁Maz yar ▁made ▁his ▁brother ▁Qu hy ar ▁as ▁the ▁def ender ▁of ▁the ▁Q ar inv and ▁mountains , ▁and ▁the ▁Bav andid ▁Q arin ▁I ▁as ▁the ▁def ender ▁of ▁eastern ▁Tab ar istan . ▁However , ▁the ▁fall ▁of ▁Tab ar istan ▁went ▁quickly : ▁several ▁cities ▁were ▁caught ▁by ▁surprise , ▁while ▁Q arin ▁I ▁bet rayed ▁Maz yar ▁and ▁agreed ▁to ▁aid ▁the ▁Abb as ids ▁in ▁exchange ▁for ▁being ▁restored ▁as ▁the ▁r uler ▁of ▁the ▁Bav and ▁dynast y . ▁The ▁people ▁of ▁S ari ▁shortly ▁revol ted ▁against ▁Maz yar , ▁and ▁Qu hy ar ▁bet rayed ▁Maz yar , ▁and ▁had ▁him ▁captured ▁and ▁given ▁to ▁al - M u ' t as im . ▁ ▁Maz yar ▁was ▁shortly ▁brought ▁to ▁Sam ar ra , ▁where ▁he ▁was ▁executed . ▁His ▁body ▁later ▁became ▁g ib bet ed ▁with ▁the ▁body ▁of ▁the ▁Kh urr am ite ▁Bab ak ▁K hor ram din . ▁Qu hy ar , ▁who ▁had ▁just ▁asc ended ▁the ▁Q ar inv and ▁throne , ▁however , ▁was ▁shortly ▁killed ▁by ▁his ▁own ▁D ail am ite ▁soldiers ▁because ▁of ▁his ▁bet ray al ▁against ▁Maz yar . ▁Although ▁many ▁sch ol ars ▁considered ▁the ▁death ▁of ▁Qu hy ar ▁as ▁the ▁fall ▁of ▁the ▁Q ar inv and ▁dynast y , ▁the ▁dynast y ▁continued ▁to ▁rule ▁in ▁parts ▁of ▁Tab ar istan , ▁and ▁a ▁certain ▁Bad