The Khazars () were a semi-nomadic Turkic people that in the late 7th-century AD established a major commercial empire covering the southeastern section of modern European Russia, southern Ukraine, Crimea, and Kazakhstan. They created what for its duration was the most powerful polity to emerge from the break-up of the Western Turkic Khaganate. Astride a major artery of commerce between Eastern Europe and Southwestern Asia, Khazaria became one of the foremost trading empires of the early medieval world, commanding the western marches of the Silk Road and playing a key commercial role as a crossroad between China, the Middle East and Kievan Rus'. For some three centuries (c. 650965) the Khazars dominated the vast area extending from the Volga-Don steppes to the eastern Crimea and the northern Caucasus.Khazaria long served as a buffer state between the Byzantine Empire and both the nomads of the northern steppes and the Umayyad Caliphate and Abbasid Caliphate, after serving as the Byzantine Empire's proxy against the Sasanian Empire. The alliance was dropped around 900. Byzantium began to encourage the Alans to attack Khazaria and to weaken its hold on Crimea and the Caucasus and sought to obtain an entente with the rising Rus' power to the north, which it aspired to convert to Christianity. Between 965 and 969, the Kievan Rus' ruler, Sviatoslav I of Kiev, as well as his allies, conquered the capital, Atil, and ended Khazaria's independence. The brief rump state that ensued was again overrun, and the Khazars were dispersed or absorbed into surrounding populations.
Determining the origins and nature of the Khazars is closely bound with theories of their languages, but it is a matter of intricate difficulty since no indigenous records in the Khazar language survive, and the state was polyglot and polyethnic. The native religion of the Khazars is thought to have been Tengrism, like that of the North Caucasian Huns and other Turkic peoples. The polyethnic populace of the Khazar Khaganate appears to have been a multiconfessional mosaic of pagan, Tengrist, Jewish, Christian and Muslim worshippers. Some of the Khazars (i.e., Kabars) joined the ancient Hungarians in the 9th century. The ruling elite of the Khazars was said by Judah Halevi and Abraham ibn Daud to have converted to Rabbinic Judaism in the 8th century, but the scope of the conversion to Judaism within the Khazar Khanate remains uncertain.Where the Khazars dispersed after the fall of the Empire is subject to many conjectures. Proposals have been made regarding the possibility of a Khazar factor in the ethnogenesis of numerous peoples, such as the Hazaras, Hungarians, the Kazakhs, the Cossacks of the Don region and of Ukraine, Bukharan Jews, the Muslim Kumyks, the Turkic-speaking Krymchaks and their Crimean neighbors the Crimean Karaites, the Moldavian Csngs, the Mountain Jews, even some Subbotniks (on the basis of their Ukrainian and Cossack origin and others). The late 19th century saw the emergence of the theory that the core of today's Ashkenazi Jews are descended from a hypothetical Khazarian Jewish diaspora which migrated westward from modern-day Russia and Ukraine into modern-day France and Germany. Linguistic and genetic studies have not supported the theory of a Khazar connection to Ashkenazi Jewry. The theory still occasionally finds support, but most scholars view it with considerable skepticism. The theory is sometimes associated with antisemitism and anti-Zionism.
The Battle of Marj Ardabil or the Battle of Ardabil was a battle fought on the plains surrounding the city of Ardabil in northwestern Iran in AD 730. A Khazar army led by Barjik, the son of the Khazar khagan, invaded the Umayyad provinces of Jibal and Iranian Azerbaijan in retaliation for Caliphate attacks on Khazaria during the course of the decades-long Khazar-Arab War of the early 8th century.
Barjik's expedition into northern Iran (and later into Kurdistan and northern Mesopotamia) may have been an attempt to establish Khazar rule south of the Caucasus Mountains.
An outnumbered force led by the Umayyad general al-Jarrah ibn Abdallah engaged the Khazars for three days. Ultimately, abandoned by many of their mawali auxiliaries, the Caliph's forces were overwhelmed and defeated. During the course of the battle, al-Jarrah was killed. The victorious Barjik mounted his head on top of the throne from which he commanded the battles of his Middle Eastern campaign. According to the historian Agapius, the Arabs suffered 20,000 dead and twice that number captured, a figure which probably includes the population of Ardabil and the surrounding territories.
Following their victory, the Khazars occupied Ardabil. The next year, however, Barjik led an army to Mosul and was defeated. According to Muhammad ibn Jarir al-Tabari and other Arab historians, the Muslims were so enraged by Barjik's desecration of their commander's head that they fought with extra vigor. After the defeat at Mosul, the Khazar army withdrew north of the Caucasus Mountains.