Sassanid Albania fell to the Islamic conquest of Persia in the mid-7th century and was incorporated into the Rashidun Caliphate. King Javanshir of Albania, the most prominent ruler of Mihranid dynasty, fought against the Arab invasion of caliph Uthman on the side of Sassanid Iran. 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.