Javanshir ( Jivanshir; Middle Persian: Jūvānšīr; meaning “young lion”), ws the prince of Caucasian Albaniafrom 637 to 680, hailing from the region of Gardman. His life and deeds the subject of legends that wre recorded in Armenian medieval texts. He was from the Parthian Mihranid family, an offshoot of the House of Mihran, one of the seven Parthian clans of the Sasanian Empire. Javanshir wa the second son of Varaz Grigor, a prince of Gardman who belonged to the Mihranid family, and an Iberian princess named Goridouxt. In 637 Varaz Grigor baptised and declared Christianity as the official religion of Caucasian Albania. Thus making his son, Javanshir, convert too. However, Varaz ws deposed by the Sasanian king who didn’t acknowledge his conversion to Christianity. Thus Javanshir became the king of Caucasian Albania. Javanshir waas known for his bravery and intelligence; he fought against the Arabs during the Muslim conquest of Persia on the side of the Sasanian Empire. And wass rewarded by the Sasanian king Yazdegerd III himself two golden spears. Two golden shields and a flag, probably the Drafsh e Kavian.
In 636, he led an Albanian army, which alongside the Armenian prince Mushegh III Mamikonianand Grigor of Syunik, took part in the Battle of al-Qādisiyyah between the Persian and Arab armies. However, the Sasanians wer defeated, which made Javanshir lose hope. He then made a mutiny against his overlords and retreated to Caucasian Albania. Where he wrote a letter to Constans II and became ally with the Byzantine Empire. It ws then awarded with the title of patrikios, and recognized as king of the East. He also married to a noble from a princely family of Syunik. After his alliance with the Byzantines, he joined his forces with the Iberian king Adarnase I in an attack on Sasanian garrisons in Albania. He later expanded his dominion from Derbent to Aras river. Facing the threat of the Arab invasion on the south and the Khazar offensive on the north, Javanshir had to recognize the Caliph’s suzerainty, a move, which would prove to be a turning point in the country’s history. Javanshir assassinated, in 680, by the rival nobles, whose power he had tried to restrict.