▁led ▁an ▁Alban ian ▁army , ▁which ▁alongside ▁the ▁Armen ian ▁prince ▁Mus he gh ▁III ▁Mam ikon ian ▁and ▁Gr ig or ▁of ▁Sy un ik , ▁took ▁part ▁in ▁the ▁Battle ▁of ▁al - Q ā dis i yy ah ▁between ▁the ▁Pers ian ▁and ▁Arab ▁arm ies . ▁However , ▁the ▁S as ani ans ▁were ▁defeated , ▁which ▁made ▁J av ans h ir ▁lose ▁hope . ▁He ▁then ▁made ▁a ▁mut iny ▁against ▁his ▁over l ords ▁and ▁retre ated ▁to ▁C au cas ian ▁Alban ia . ▁Where ▁he ▁wrote ▁a ▁letter ▁to ▁Const ans ▁II ▁and ▁became ▁al ly ▁with ▁the ▁By z antine ▁Empire . ▁He ▁was ▁then ▁awarded ▁with ▁the ▁title ▁of ▁patri ki os , ▁and ▁recognized ▁as ▁king ▁of ▁the ▁East . ▁He ▁also ▁married ▁to ▁a ▁noble ▁from ▁a ▁pr inc ely ▁family ▁of ▁Sy un ik . ▁ ▁After ▁his ▁al liance ▁with ▁the ▁By z ant ines , ▁he ▁joined ▁his ▁forces ▁with ▁the ▁I ber ian ▁king ▁Ad arn ase ▁I ▁in ▁an ▁attack ▁on ▁S as an ian ▁g arr isons ▁in ▁Alban ia . ▁He ▁later ▁expanded ▁his ▁domin ion ▁from ▁Der b ent ▁to ▁Ar as ▁river . ▁ ▁F acing ▁the ▁threat ▁of ▁the ▁Arab ▁invasion ▁on ▁the ▁south ▁and ▁the ▁Kh azar ▁off ensive ▁on ▁the ▁north , ▁J av ans h ir ▁had ▁to ▁recognize ▁the ▁C ali ph ’ s ▁su zer ain ty , ▁a ▁move , ▁which ▁would ▁prove