The Caucasus as a frontier of civilizations 's 1887 map of the
Sasanian Persian fortifications of the
Caspian Gates at
Derbent The Arab–Khazar wars were part of a long series of military conflicts between the nomadic peoples of the
Pontic–Caspian steppe and the more settled regions south of the
Caucasus. The two primary routes over the mountains, the
Darial Pass (Alan Gates) in the centre and the Pass of
Derbent (
Caspian Gates) in the east along the
Caspian Sea, have been used as invasion routes since
classical antiquity. Consequently, defence of the Caucasus frontier against destructive raids by steppe peoples such as the
Scythians and
Huns came to be regarded as one of the chief duties of imperial regimes of the
Near East. This is reflected in the popular belief in ancient and medieval Middle Eastern cultures that
Alexander the Great had
barred the Caucasus with divine assistance against the mythical hordes of
Gog and Magog. According to historian Gerald Mako, the latter were stereotypical "northern barbarians" as conceived by the settled civilizations of Eurasia: "uncivilized savages who drank blood, who ate children, and whose greed and bestiality knew no limits". If Alexander's barrier failed and Gog and Magog broke through, the
Apocalypse would follow. Starting with
Peroz I (), the
shahs of the
Sasanian Empire built a
line of stone fortifications to protect the vulnerable frontier on the Caspian shore. When completed under
Khosrow I (), these stretched over from the eastern foothills of the Caucasus to the Caspian Sea. The fortress of Derbent was the strategically crucial centre point of this fortification complex, as seen in its Persian name (). The
Turkic Khazars appeared in the area of present-day
Dagestan in the second half of the sixth century, initially as subjects of the
First Turkic Khaganate. After the latter's collapse, they emerged as an independent, dominant power in the northern Caucasus by the seventh century. As the most recent steppe power in the region, early medieval writers came to identify the Khazars with Gog and Magog and the Sasanian fortifications at Derbent as Alexander's wall. The Khazars are mentioned in medieval histories as being present in the Caucasus since the first centuries CE, but these are rejected as anachronistic by modern scholars. Some scholars have argued the Khazars must be identified with Turks who raided Sasanian Persia in the late 6th century, but again the evidence is unreliable, being derived from much later Arabic sources. Modern scholarship generally holds that the Khazars first campaigned in the
South Caucasus during the
Byzantine–Sasanian War of 602–628, as subjects of the
Western Turkic Khaganate, who allied with the
Byzantine Empire in the
Third Perso-Turkic War. The Turks sacked Derbent in 627, broke through the local Sasanian defences, and joined the Byzantines in their siege of
Tiflis. When Byzantine emperor
Heraclius () invaded Persia proper the next year, 40,000 Turks joined him. Their contribution was decisive for ending the war in a Byzantine victory. For a short while afterwards, as Sasanian power collapsed, the Turks exercised some control over
Caucasian Iberia (approximately present-day
Georgia),
Caucasian Albania (the modern
Republic of Azerbaijan) and
Adharbayjan (modern
Iranian Azerbaijan), while Armenia, the southwestern half of the South Caucasus, was in Byzantine hands. However, after the assassination of
Tong Yabghu, the Western Turkic , around 630, the extension of Turkic control into the South Caucasus was abandoned, and the region returned to Sasanian influence by 632. The collapse of the West Turkic Khaganate led to the independence of the Khazars, then living in the Middle Volga region, and their emergence as an imperial power in their own right between the 660s and 680s, when they defeated
Old Great Bulgaria and expanded into the North Caucasus.
Opposing armies In the Caucasus, the Khazars came into contact with the nascent Arab
caliphate, which had extended its power over the South Caucasus in the 640s, after the first wave of the
early Muslim conquests. The eastern Caucasus became the main theatre of the Arab–Khazar conflict, with the Arab armies aiming to gain control of Derbent (
Arabic , 'Gate of Gates') and the Khazar cities of
Balanjar and
Samandar. Their locations have yet to be established with certainty by modern researchers, but both cities are referred to as Khazar capitals by Arab writers and may have been winter and summer capitals, respectively. Due to Arab attacks, the Khazars later moved their capital further north to
Atil (Arabic ) in the
Volga Delta.
Arabs Like other Near Eastern peoples, the Arabs were familiar with the legend of Gog and Magog, who appear in the
Quran in the Arabicized form . After the Muslim conquests of the 7th and 8th centuries, their perceptions incorporated many of the cultural concepts of their new subjects. This was reflected in early Muslim geographic works, where the Caucasus was seen as part of a great continuous mountain chain that spanned the earth and divided the civilized lands of the south from the 'Land of Darkness' beyond, an idea deriving from Persian and possibly ancient Babylonian traditions. Consequently, according to Mako, the caliphs soon adopted the notion that it was their duty "to protect the settled, i.e. the civilized world from the northern barbarian". This imperative was reinforced by the Muslim division of the world into the House of Islam () and the House of War (), to which the
Tengric pagan Turkic steppe peoples such as the Khazars were consigned. While their Byzantine and Sasanian predecessors simply sought to contain the steppe peoples through fortifications and political alliances, historian David Wasserstein notes the leaders of the Arab caliphate were "expansionists interested in conquest"; their northward thrust threatened the survival of the Khazars as an independent polity. Historian
Khalid Yahya Blankinship agrees, emphasizing the highly ideological nature of the Muslim caliphate and its dedication to the doctrine of , which in political terms entailed "the struggle to establish God's rule in the earth through a continuous military effort against the non-Muslims". The early Muslim state was geared toward expansion, with all able-bodied adult male Muslims subject to conscription. Its manpower pool was accordingly enormous and historian
Hugh N. Kennedy estimates 250,000 to 300,000 men were inscribed as potential soldiers () in the provincial army registers . Kennedy stresses that this force was spread throughout the empire and many of the proved loath to answer summons if the prospects for an easy victory and plunder were low, but on the other hand, these numbers could be supplemented by unregistered Arab volunteers. This put the Arabs at a distinct advantage over their enemies: the entire nominal strength of the contemporary
Byzantine army is estimated at 120,000 men, though revisionist historians put it at as low as 30,000. Arab armies of the early Muslim conquests contained sizeable contingents of
light and
heavy cavalry, but relied primarily on their infantry. Arab cavalry was often limited to skirmishing early in a battle before dismounting and fighting on foot. Arab armies resisted cavalry charges by digging trenches and forming a spear wall behind them. This tactic indicates the discipline of Arab armies, particularly the elite Syrian troops, which in the Umayyad period served continuously rather than being called up for specific campaigns, and were a
de facto professional, standing army. According to Kennedy, the Arabs' higher degree of training and discipline gave them an advantage against nomadic peoples like the Khazars. In the 8th century, Arab armies were often accompanied by local forces provided by the various local potentates, who not only were under Arab suzerainty, but often enough had suffered themselves due to Khazar raids. Thus in 732 the presiding prince of Armenia,
Ashot III Bagratuni, is known to have renewed an agreement for the employment of Armenian cavalry with the Arab army for three years, in exchange for 100,000 silver
dirhams per year.
Khazars , showing an early medieval armoured steppe warrior with a captive The Khazars followed a strategy common to their nomadic predecessors; their raids might reach deep into the South Caucasus,
Mesopotamia and
Anatolia, but they were, according to historian
Peter B. Golden, not aimed at conquest. Instead, Golden notes they were "typical of nomads testing the defenses of their sedentary neighbors" and a means of gathering booty, the acquisition and distribution of which was fundamental to tribal coalitions. According to Golden, the strategic stake of the conflict for the Khazars was control of the Caucasus passes. According to historian Boris Zhivkov, on the other hand, the Khazars contested the extension of Arab rule over Albania. Zhivkov considers that the Khazars laid special claim to the province, based on the ephemeral control exercised there by the Western Turks after the last Byzantine–Sasanian war. The sources do not provide details of the composition or tactics of Khazar armies, and the names of Khazar commanders are rarely recorded. Although the Khazars adopted elements of the civilizations to their south and possessed towns, they remained a tribal, semi-nomadic power. Like other steppe societies originating in
Central Asia, they practised a mobile form of warfare and relied on skilled, hardy cavalry. The rapid movements and sudden attacks and counterattacks of the Khazar cavalry are emphasized in medieval sources. In the few detailed descriptions of pitched battles, the Khazar cavalry launch the opening attacks. Heavy (
cataphract) cavalry is not recorded in the sources, but archaeological evidence attests to the use of heavy armour for riders and (possibly) horses. The presence of Khazar infantry must be assumed (especially during siege operations), although it is also not explicitly mentioned. Modern historians point to the use of advanced
siege machines as evidence that Khazar military sophistication was equal to that of other contemporary armies. The less-rigidly organized, semi-nomadic nature of the Khazar state also worked to their advantage against the Arabs, as they lacked a permanent administrative centre, whose loss would paralyze the government and force them to surrender. The Khazar army was composed of Khazar troops and those of vassal princes and allies. Its overall size is unclear, and references to 300,000 men in the invasion of 730 are clearly exaggerated. Historian Igor Semyonov observes the Khazars "never entered into battle without having a numerical advantage" over their Arab opponents, which often forced the latter to withdraw. According to Semyonov, this attests to the Khazars' skill in logistics and their ability to gather accurate information about their opponents' movements, the layout of the country, and the condition of roads.
Connection with the Arab–Byzantine conflict To an extent, the Arab–Khazar wars were also linked to the
long-lasting struggle of the Caliphate against the Byzantine Empire along the eastern fringes of Anatolia (a theatre of war which adjoined the Caucasus). The
Byzantine emperors pursued close relations with the Khazars which amounted to an alliance for most of the period in question, including the marriage of emperor
Justinian II () to Khazar princess
Theodora in 705. The possibility of the Khazars linking with the Byzantines through
Armenia was a grave threat to the Caliphate, especially given Armenia's proximity to the
Umayyad Caliphate's metropolitan province of
Syria. This did not materialize; Armenia was left largely quiet, with the Umayyads granting it wide-ranging autonomy and the Byzantines refraining from actively campaigning there. Given the common threat of Khazar raids, the Umayyads found the Armenians (and the neighbouring
Georgians) willing allies against the Khazars. The 20th-century
Byzantinist Dimitri Obolensky suggested the Arab expansion in the Caucasus was motivated by a desire to outflank Byzantine defences from the north and envelop the Byzantine Empire in a
pincer movement, but this idea is rejected as far-fetched by more recent scholars. Wasserstein objects to Obolensky's proposition as a scheme of extraordinary ambition which hinges on two untenable assumptions: that the Muslims had concluded a direct assault against Byzantium was without prospects of success, and that they had more detailed geographical knowledge than can be demonstrated for the time in question. Mako agrees that such a grand strategic plan is not borne out by the rather limited nature of the Arab–Khazar conflict until the 720s. It is more likely that the northward expansion of the Arabs beyond the Caucasus was, at least initially, the result of the onward momentum of the early Muslim conquests. Local Arab commanders of the period often exploited opportunities haphazardly and without an overall plan, sometimes pursuing expansion even against direct caliphal orders. From a strategic perspective, it is more probable that the Byzantines encouraged the Khazars to attack the Caliphate to relieve mounting pressure on their eastern frontier in the early eighth century. Byzantium profited from the diversion of Muslim armies northwards during the 720s and 730s, and the Byzantine–Khazar entente resulted in another marriage alliance between future emperor
Constantine V () and Khazar princess
Tzitzak in 733. Gaining control of the northern branch of the trade networks linking Europe with East Asia (the so-called "
Silk Road") by the Caliphate has been suggested as a further motive for the conflict. Mako disputes this claim, pointing out that warfare declined precisely at the time of greatest expansion of these networks, after the mid-eighth century. ==First war and aftermath==