Kara-Khanid Khanate


The Kara-Khanid Khanate, also known as the Karakhanids, Qarakhanids, Ilek Khanids or the Afrasiabids, was a Turkic khanate that ruled Central Asia in the 9th through the early 13th century. The dynastic names of Karakhanids and Ilek Khanids refer to royal titles with Kara Kağan being the most important Turkic title up till the end of the dynasty.
The Khanate conquered Transoxania in Central Asia and ruled it between 999–1211. Their arrival in Transoxania signaled a definitive shift from Iranian to Turkic predominance in Central Asia, yet the Kara-khanids gradually assimilated the Perso-Arab Muslim culture, while retaining some of their native Turkic culture.
The capitals of the Kara-Khanid Khanate included Kashgar, Balasagun, Uzgen and Samarkand. In the 1040s, the Khanate split into the Eastern and Western Khanates. In the late 11th century, they came under the suzerainty of the Seljuks, followed by the Kara-Khitans in the mid-12th century. The Eastern Khanate was ended by the Kara-Khitans in 1211. The Western Khanate was extinguished by the Khwarazmian dynasty in 1213.
The history of the Kara-Khanid Khanate is reconstructed from fragmentary and often contradictory written sources, as well as studies on their coinage.

Names

The term Karakhanid was derived from Qara Khan or Qara Khaqan, the foremost title of the rulers of the dynasty. The word "Kara" means "black" and also "courageous" from Old Turkic and khan means ruler. The term was devised by European Orientalists in the 19th century to describe both the dynasty and the Turks ruled by it.

Origin

The Kara-Khanid Khanate originated from a confederation formed some time in the 9th century by Karluks, Yagmas, Chigils, and other peoples living in Zhetysu, Western Tian Shan, and Western Xinjiang around Kashgar. According to the 10th century Arab historian Al-Masudi, the khagans may be descendants of the Ashina. They claimed the title khagan, which indicates that they may have been descended from the Ashina.

Early history

The Karluks were a nomadic people from the western Altai Mountains who moved to Zhetysu. In 742, the Karluks were part of an alliance led by the Basmyl and Uyghurs that rebelled against the Göktürks. In the realignment of power that followed, the Karluks were elevated from a tribe led by an el teber to one led by a yabghu, which was one of the highest Turkic dignitaries and also implies membership in the Ashina clan in whom the "heaven-mandated" right to rule resided. The Karluks and Uyghurs later allied themselves against the Basmyl, and within two years they toppled the Basmyl khagan. The Uyghur yabghu became khagan and the Karluk leader yabghu. This arrangement lasted less than a year. Hostilities between the Uyghur and Karluk forced the Karluk to migrate westward into the western Turgesh lands.
By 766 the Karluks had forced the submission of the Turgesh and they established their capital at Suyab on the Chu River. The Karluk confederation by now included the Chigil and Tukshi tribes who may have been Türgesh tribes incorporated into the Karluk union. By the mid-9th century, the Karluk confederation had gained control of the sacred lands of the Western Türks after the destruction of the Uyghur Khaganate by the Old Kirghiz Control of sacred lands, together with their affiliation with the Ashina clan, allowed the Khaganate to be passed on to the Karluks along with domination of the steppes after the previous Khagan was killed in a revolt.
During the 9th century southern Central Asia was under the rule of the Samanids, while the Central Asian steppe was dominated by Turkic nomads such as the Pechenegs, the Oghuz Turks, and the Karluks. The domain of the Karluks reached as far north as the Irtysh and the Kimek confederation, with encampments extending to the Chi and Ili rivers, where the Chigil and Tukshi tribes lived, and east to the Ferghana valley and beyond. The area to the south and east of the Karluks was inhabited by the Yagma. The Karluk center in the 9th and 10th centuries appears to have been at Balasagun on the Chu River. In the late 9th century the Samanids marched into the steppes and captured Taraz, one of the headquarters of the Karluk khagan, and a large church was transformed into a mosque.

Formation of the Kara-Khanid Khanate

During the 9th century, the Karluk confederation and the Yaghma, possible descendants of the Toquz Oghuz, joined force and formed the first Karluk-Karakhanid khaganate. The Chigils appear to have formed the nucleus of the Karakhanid army. The date of its foundation and the name of its first khan is uncertain, but according to one reconstruction, the first Karakhanid ruler was Bilge Kul Qadir Khan. The rulers of the Karakhanids were likely to be from the Chigil and Yaghma tribes – the Eastern Khagan bore the title Arslan Qara Khaqan and the Western Khagan the title Bughra Qara Khaqan. The names of animals were a regular element in the Turkic titles of the Karakhanids: thus Aslan, Bughra, Toghan, Böri, and Toghrul or Toghrïl. Under the Khagans were four rulers with the titles Arslan Ilig, Bughra Ilig, Arslan Tegin and Bughra Tegin. The titles of the members of the
dynasty changed with their changing position, normally upwards, in the dynastic hierarchy.
In the mid-10th century the Kara-Khanids converted to Islam and adopted Muslim names and honorifics, but retained Turkic regnal titles such as Khan, Khagan, Ilek and Tegin. Later they adopted Arab titles sultan and sultān al-salātīn. According to the Ottoman historian known as Munajjim-bashi, a Karakhanid prince named Sultan Satuq Bughra Khan was the first of the khans to convert. After conversion, he obtained a fatwa which permitted him in effect to kill his presumably still pagan father, after which he conquered Kashgar. Later in 960, according to Muslim historians Ibn Miskawaih and Ibn al-Athir, there was a mass conversion of the Turks, circumstantial evidence suggests these were the Karakhanids.

Conquest of Transoxiana

The grandson of Satuk Bughra Khan, Hasan b. Sulayman attacked the Samanids in the late 10th century. Between 990–992, Hasan took Isfijab, Ferghana, Ilaq, Samarkand, and the Samanid capital Bukhara. However, Hasan Bughra Khan died in 992 due to an illness, and the Samanids returned to Bukhara.
Hasan's cousin Ali b. Musa resumed the campaign against the Samanids, and by 999 Ali's son Nasr had taken Chach, Samarkand, and Bukhara. The Samanid domains were divided between the Ghaznavids, who gained Khorasan and Afghanistan, and the Karakhanids, who received Transoxiana. The Oxus River thus became the boundary between the two rival empires.
The Karakhanid state was divided into appanages, as was common of Turkic and Mongol nomads. The Karakhanid appanages were associated with four principal urban centers, Balasagun in Zhetysu, Kashgar in Xinjiang, Uzgen in Fergana, and Samarkand in Transoxiana. The dynasty's original domains of Zhetysu and Kasgar and their khans retained an implicit seniority over those who ruled in Transoxiana and Fergana. The four sons of Ali each held their own independent appanage within the Karakhanid state. Nasr, the conqueror of Transoxiana, held the large central area of Transoxiana, Fergana and other areas, although after his death his appanage was further divided. Ahmad held Zhetysu and Chach and became the head of the dynasty after the death of Ali. The brothers Ahmad and Nasr conducted different policies towards the Ghaznavids in the south – while Ahmad tried to form alliance with Mahmud of Ghazna, Nasr attempted to expand unsuccessfully into the territory of the Ghaznavids.
Ahmad was succeeded by Mansur, and after the death of Mansur, the Hasan Bughra Khan branch of the Karakhanids became dominant. Hasan's sons Muhammad Toghan Khan II, and Yusuf Kadir Khan who held Kashgar, became in turn the head of the Karakhanid dynasty. The two families, i.e. the descendants of Ali Arslan Khan and Hasan Bughra Khan, would eventually split the Karakhanid Khanate in two.
In 1017–1018, the Karakhanids repelled an attack by a large mass of nomadic Turkic tribes in what was described in Muslim sources as a great victory.

Conquest of western Tarim Basin

The Islamic conquest of the Buddhist cities east of Kashgar began when the Karakhanid Sultan Satuq Bughra Khan converted to Islam in 934 and then captured Kashgar. He and his son directed endeavors to proselytize Islam among the Turks and engage in military conquests. In the mid-10th century, Satuq's son Musa began to put pressure on Khotan, and a long period of war between Kashgar and the Kingdom of Khotan ensued. Satok Bughra Khan's nephew or grandson Ali Arslan was said to have been killed by Buddhists during the war; during the reign of Ahmad b. Ali, the Karakhanids also engaged in wars against non-Muslims to the east and northeast.
Muslim accounts tell the tale of the four imams from Mada'in city who travelled to help Yusuf Qadir Khan, the Qarakhanid leader, in his conquest of Khotan, Yarkend, and Kashgar. The "infidels" were said to have been driven towards Khotan, however the four Imams were killed. In 1006, Yusuf Qadir Khan of Kashgar conquered the Kingdom of Khotan, ending Khotan's existence as an independent state.
The conquest of the western Tarim Basin which includes Khotan and Kashgar is significant in the eventual Turkification and Islamification of the Tarim Basin, and modern Uyghurs identify with the Karakhanids even though the name Uyghur was taken from the Manichaean Uyghur Khaganate and the Buddhist state of Qocho.

Division of the Kara-Khanid Khanate

Early in the 11th century the unity of the Karakhanid dynasty was fractured by frequent internal warfare that eventually resulted in the formation of two independent Karakhanid states. A son of Hasan Bughra Khan, Ali Tegin, seized control of Bukhara and other towns. He expanded his territory further after the death of Mansur. The son of Nasr, Böritigin, later waged war against the sons of Ali Tegin, and won control of large part of Transoxania, and made Samarkand the capital. In 1041, another son of Nasr b. Ali, Muhammad 'Ayn ad-Dawlah took over the administration of the western branch of the family that eventually led to a formal separation of the Khara-Khanid Khanate. Ibrahim Tamghach Khan was considered by Muslim historians as a great ruler, and he brought some stability to Western Karakhanids by limiting the appanage system that caused much of the internal strife in the Kara-Khanid Khanate.
The Hasan family remained in control of the Eastern Khanate. The Eastern Khanate had its capital at Balasaghun and later Kashgar. The Fergana-Zhetysu areas became the border between the two states and were frequently contested. When the two states were formed, Fergana fell into realm of the Eastern Khanate, but was later captured by Ibrahim and became part of Western Khanate.

Seljuk suzerainty

In 1040, the Seljuk Turks defeated the Ghaznavids at the Battle of Dandanaqan and entered Iran. Conflict with the Karakhanids broke out, but the Karakhanids were able to withstand attacks by the Seljuks initially, even briefly taking control of Seljuk towns in Greater Khorasan. The Karakhanids, however, developed serious conflicts with the religious classes, and the ulama of Transoxiana then requested the intervention of the Seljuks. In 1089, during the reign of Ibrahim's grandson Ahmad b. Khidr, the Seljuks entered and took control of Samarkand, together with the domains belonging to the Western Khanate. The Western Karakhanids Khanate became a vassal of the Seljuks for half a century, and the rulers of the Western Khanate were largely whomever the Seljuks chose to place on the throne. Ahmad b. Khidr was returned to power by the Seljuks, but in 1095, the ulama accused Ahmad of heresy and managed to secure his execution.
The Karakhanids of Kashgar also declared their submission following a Seljuk campaign into Talas and Zhetysu, but the Eastern Khanate was a Seljuk vassal for only a short time. At the beginning of the 12th century they invaded Transoxiana and briefly occupied the Seljuk town of Termez.

Qara Khitai Invasion

The Qara Khitai host which invaded Central Asia was composed of remnants from the defunct Liao dynasty which was annihilated by the Jurchens in 1125. The Khitan noble Yelü Dashi recruited warriors from various tribes and formed a horde that moved westward to rebuild the Khitan nation. Yelu occupied Balasagun on the Chu River, then defeated the Western Karakhanids in Khujand in 1137. In 1141 Qara Khitai became the dominant force in the region after they dealt a devastating blow to the Seljuk Sultan Ahmad Sanjar at the Battle of Qatwan near Samarkand. Several military commanders of Karakhanid lineages such as the father of Osman of Khwarazm fled from Karakhanid lands in the wake of the Qara Khitai invasion.
Despite losing to the Qara Khitai, the Karakhanid dynasty remained in power as their vassals. The Qara Khitai themselves stayed at Zhetysu near Balasagun, and allowed some of the Karakhanids to continue to rule as their tax collectors in Samarkand and Kashgar. Under the Qara Khitai the Karakhanids functioned as administrators for sedentary Muslim populations. While the Qara Khitai were Buddhists ruling over a largely Muslim population, they were considered fair-minded rulers whose reign was marked by religious tolerance. Islamic religious life continued uninterrupted and Islamic authority persevered under the Qara Khitai. Kashgar became a Nestorian metropolitan see and Christian gravestones in the Chu River Valley appeared beginning in this period. However, Kuchlug, a Naiman who usurped the throne of the Qara Khitai Dynasty, instituted anti-Islamic policies on the local populations under his rule.

Downfall

The decline of the Seljuks following their defeat by the Qara Khitans allowed the Khwarazmian dynasty, then a vassal of the Qara Khitai, to expand into former Seljuk territory. In 1207, the citizens of Bukhara revolted against the sadrs, which the Khwarezm-Shah 'Ala' ad-Din Muhammad used as a pretext to conquer Bukhara. Muhammad then formed an alliance with the Western Karakhanid ruler Uthman against the Qara Khitai. In 1210, the Khwarezm-Shah took Samarkand after the Qara Khitai retreated to deal with the rebellion from the Naiman Kuchlug, who had seized the Qara Khitans' treasury at Uzgen. The Khwarezm-Shah then defeated the Qara Khitai near Talas. Muhammad and Kuchlug had, apparently, agreed to divide up the Qara Khitan's empire. In 1212, the population of Samarkand staged a revolt against the Khwarezmians, a revolt which Uthman supported, and massacred them. The Khwarezm-Shah returned, recaptured Samarkand and executed Uthman. He demanded the submission of all leading Karakhanids, and finally extinguished the Western Karakhanid state.
In 1204, a rebellion of the Eastern Kara-Khanid in Kashgar was suppressed by the Kara-Khitai who took the prince Yusuf hostage to Balasagun. The prince was later released but he was killed in Kashgar by rebels in 1211, effectively ending the Eastern Kara-Khanid. In 1214, the rebels in Kashgar surrendered to Kuchlug, who had usruped the Kara-Khitai throne. In 1218, Kuchlug was killed by the Mongol army. Some of the Kara-Khitai's eastern vassels including Eastern Kara-Khanids then joined the Mongol forces that conquered the Khwarezmian Empire.

Culture

The takeover by the Karakhanids did not change the essentially Iranian character of Central Asia, though it set into motion a demographic and ethnolinguistic shift. During the Karakhanid era, the local population began using Turkic in speech – initially the shift was linguistic with the local people adopting the Turkic language. While Central Asia became Turkicized over the centuries, culturally the Turks came close to being Persianized or, in certain respects, Arabicized. Nevertheless, the official or court language used in Kashgar and other Karakhanid centers, referred to as "Khaqani", remained Turkic. The language was partly based on dialects spoken by the Turkic tribes that made up the Karakhanids and possessed qualities of linear descent from Kök and Karluk Turkic. The Turkic script was also used for all documents and correspondence of the khaqans, according to Dīwānu l-Luġat al-Turk.
, Kyrgyzstan.
The Dīwānu l-Luġat al-Turk was written by a prominent Karakhanid historian, Mahmud al-Kashgari, who may have lived for some time in Kashgar at the Karakhanid court. He wrote this first comprehensive dictionary of Turkic languages in Arabic for the Caliphs of Baghdad in 1072–76. Another famous Karakhanid writer was Yusuf Balasaghuni, who wrote Kutadgu Bilig, the only known literary work written in Turkic from the Karakhanid period. Kutadgu Bilig is a form of advice literature known as mirrors for princes. The Turkic identity is evident in both of these pieces of work, but they also showed the influences of Persian and Islamic culture. However, the court culture of the Karakhanids remained almost entirely Persian. The two last western khaqans also wrote poetry in Persian.
in Bukhara
Islam and its civilization flourished under the Karakhanids. The earliest example of madrasas in Central Asia was founded in Samarkand by Ibrahim Tamghach Khan. Ibrahim also founded a hospital to care for the sick as well as providing shelter for the poor. His son Nasr Shams al-Mulk built ribats for the caravanserais on the route between Bukhara and Samarkand, as well as a palace near Bukhara. Some of the buildings constructed by the Karakhanids still survive today, including the Kalyan minaret built by Mohammad Aslan Khan beside the main mosque in Bukhara, and three mausolea in Uzgend. The early Karakhanid rulers, as nomads, lived not in the city but in an army encampment outside the capital, and while by the time of Ibrahim the Karakhanids still maintained a nomadic tradition, their extensive religious and civil constructions showed that they had assimilated the culture and traditions of the settled population of Transoxiana.

Genetics

A genetic study published in Nature in May 2018 examined the remains of three Khara-Khanid individuals. They were found to be carrying the maternal haplogroups G2a2, A and J1c. The Kara-Khanid were found be have more East Asian ancestry than the preceding Goktürks.

Legacy

Kara-Khanid is arguably the most enduring cultural heritage among coexisting cultures in Central Asia from the 9th to the 13th centuries. The Karluk-Uyghur dialect spoken by the nomadic tribes and turkified sedentary populations under Kara-Khanid rule formed two major branches of the Turkic language family, the Chagatay and the Kypchak. The Kara-Khanid cultural model that combined nomadic Turkic culture with Islamic, sedentary institutions spread east into former Kara-Khoja and Tangut territories and west and south into the subcontinent, Khorasan, Golden Horde territories, and Turkey. The Chagatay, Timurid, and Uzbek states and societies inherited most of the cultures of the Kara-Khanids and the Khwarezmians without much interruption.

Kara-Khanid dynasty

Western Karakhanids
Eastern Karakhanids