In the years following 665, as the "Great Bulgaria" state in the north Black Sea had scattered in front of the strong Hazar expanding, all the plain lands that reached upto Dnyeper were captured by the Hazar's and the khanate had closed the ways in south Caucasia against the Islamic movement. The fights of the Arabic and the Hazar's had been violent and continues. The first big attack in the time of Caliph Osman was made under the administration of Selman b. Rebia in H.31 (651-652). Passing Derbend and entering the Hazar capital Belencer, the Arabian forces had been repelled and the Hazar's turned towards south and entered Armenia. From this time on, the fights that last for more than half a decade along the border were followed by wide organized operations of the Islamics. On top of these operations had been the famous commander of the Emevi's, Mesleme Abd'il Melik (brother of Halefi Velid 1 -705-715). Although Mesleme, who reached the environs of Derbend (in the years 707-710, 711) had captured Derbend in 714, after he left Caucasia in order to walk to Istanbul, the Arabian forces retreated in front of the Hazar attack. In 722, the Armenian governor el-Carrah'ül-Hikemi had gained great success in the land of Hazar's. As a result of the mutual attacks until 730, the Arabics again stepped back to Azerbaydshan. But they gained the most important success by the attack in 737 that was made by the Armenian and Azerbaydshan governor Mervan b. Muhammet (later on caliph). Therefore it is said that the khane had been forced to accept the islam; but according to narrations, after a little while he again turned to his former religion. The fight began to lose speed as the Abbasi came to power in the Islamic Caliphate.
It is worth to be mentioned that in the second half of the 8th decade, after the years of 760, the Hazar's had entered Armenian regions after capturing Tiflis again. As it is mentioned because of these wars, the governor Yezid b. Useyd, to come to an agreement, wanted to marry, according to the wish of the chalif, a Hazarian princess in the Armenian city centre which had been founded in Daryal by chalif El-Mansur H. 141 in (745). The death born child of the princess, whose heavy trousseau had been carried in the company of the Tarhan to Berdaa (city centre), lead the khane to the result that this really had be a betrayed and this counted as a reason for war, whereas the Hazar army under the leadership of As-Tarhan walked into the chalifs lands.