The 737 campaign marked the end of large-scale warfare between the two powers, establishing Derbent as the northernmost Muslim outpost and securing Muslim dominance over Transcaucasia. At the same time, the continuing warfare weakened the Umayyad army and contributed to the eventual fall of the dynasty to the Abbasid Revolution a few years later. Relations between the Muslims of the Caucasus and the Khazars remained largely peaceful thereafter, apart from two Khazar raids in the 760s and in 799, resulting from failed efforts to secure an alliance through marriage between the Arab governors or local princes of the Caucasus and the Khazar "khagan". Occasional warfare continued in the region between the Khazars and the Muslim principalities of the Caucasus until the collapse of the Khazar state in the late 10th century, but the great wars of the 8th century were never repeated.