Origin '':
Nestorian Christian plate with decoration of the
Siege of Jericho, probably made by
Sogdian artists under
Karluk dominion, in
Semirechye. Cast silver of the 9th-10th century, copied from an original 8th century plate. The Kara-Khanid Khanate originated from a confederation formed some time in the 9th century by
Karluks,
Yagmas,
Chigils,
Tuhsi, and other peoples living in
Zhetysu, Western
Tian Shan (modern
Kyrgyzstan), and Western
Xinjiang around
Kashgar. 10th-century Arab historian
Al-Masudi listed two "Khagan of Khagans" of the Karluk horde: Sanah, a possible rendition of
Ashina (compare Śaya (also by al-Masudi), Aś(i)nas (al-Tabari), Ānsa (Hudud al-'Alam), and Śaba (Ibn Khordadbeh)), and Afrasiab, whom 11th-century Karakhanid scholar
Mahmud al-Kashgari identified with Turkic king
Alp Er Tunga, the legendary progenitor of the Karakhanid ruling dynasty. Furthermore, Kara-khanid heads of state claimed the title
khagan, which indicates that they may have been descended from the Ashina. Even so, the tribal origin of Bilge Kul Qadir Khan, the first Kara-Khan, is still unknown: if Bilge Kul Qadir descended from the
Karluk Yabghus, then he indeed belonged to the Ashina dynasty as they did; if Bilge Kul Qadir descended from the Yagma (as suggested by
Vasily Bartold), then he did not, considering that the
Hudud al-'Alam stated that "Their [Yagmas'] king is from the family of the
Toġuzġuz kings", that Ashina tribe was not listed among the Toquz Oghuz (Ch. 九姓
Jĭu Xìng "Nine Surnames") in Chinese-language sources and that early Uyghur khagans belonged to the
Yaglakar clan of Toquz Oghuz and later Uyghur khagans belonged to the
Ädiz clan. Alternatively, Bilge Kul Qadir might belong to the Eðgiş or
Chigils.
Early history The
Karluks were a nomadic people from the western
Altai Mountains who moved to
Jetisu. In 742, the Karluks were part of an alliance led by the
Basmyls and the
Uyghur Khaganate that rebelled against the
Göktürks, leading to the demise of the
Second Turkic Khaganate (682–744). In the realignment of power that followed, the Karluks were elevated from a tribe led by an
Elteber 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. '',
Jetisu . By 766, the Karluks had forced the submission of the Turgesh, and they established their capital at
Suyab on the
Chu. The Karluk confederation, by now, included the Chigil and Tukshi tribes, who may have been Türgesh tribes incorporated into the Karluk union. The Karluks converted to Christianity, specifically the
Church of the East, at the end of the 8th century, about 15 years after they established themselves in the
Jetisu region. Remains of a Nestorian church have been found in the Karluk capital of
Suyab, as well as hundreds of tomstones with
Syriac inscriptions in the Jetisu region. 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 ruled by 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–Kipchak 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. 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 (840 CE) ( CE) the first Muslim Khan of the Kara-Khanids, in
Artush,
Xinjiang During the 9th century, the Karluk confederation (including three chief tribes: the Bulaq (
Mouluo 謀落 /
Moula 謀剌), Taşlïk (
Tashili 踏實力), and Sebek (Suofu 娑匐), along with
Chigils,
Charuks,
Barskhans,
Khalajes,
Azkishi and
Tuhsis (the last three being possibly remnants of
Türgesh) and the Yaghma, possible descendants of the
Toquz Oghuz, joined forces 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 (Arslan "lion" was the totem of the Chigil) and the Western Khagan the title
Bughra Qara Khaqan (Bughra "male camel" was the totem of the Yaghma). The names of animals were a regular element in the Turkic titles of the Karakhanids: thus Aslan (lion), Bughra (camel), Toghan (falcon), Böri (wolf), and Toghrul or Toghrïl (a bird of prey). 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 position, normally upwards, in the dynastic hierarchy.
Conversion to Islam () 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 (Ilig) and
Tegin. Later they adopted the Arab titles
sultan and
sultān al-salātīn ("Sultan of Sultans"). 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 (of the old
Shule Kingdom). Later, in 960, according to Muslim historians
Ibn Miskawaih and
Ibn al-Athir, there was a mass conversion of the Turks (reportedly "200,000 tents of the Turks"), and circumstantial evidence suggests these were the Karakhanids.
Conquest of Transoxiana (left) facing
Mahmud of Ghazni riding an elephant in 1017–1018.
Jami al-Tawarikh, 1306-14 (Edinburgh Or Ms 20) The grandson of Satuk Bughra Khan,
Hasan b. Sulayman (or Harun) (title: Bughra Khan)
attacked the Samanids in the late 10th century. Between 990 and 992, Hasan took
Isfijab,
Ferghana,
Ilaq,
Samarkand, and the
Samanid capital
Bukhara. However, Hasan Bughra Khan died in 992 due to an illness, The Karakhanid state was divided into
appanages (
Ülüş system), as was common of Turkic and Mongol nomads. The Karakhanid appanages were associated with four principal urban centers,
Balasagun (then the capital of the Karakhanid state) 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 (Ahmad, Nasr, Mansur, Muhammad) each held their own independent appanage within the Karakhanid state. Nasr, the conqueror of Transoxiana, held the large central area of Transoxiana (Samarkand and Bukhara), Fergana (Uzgen) 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 an alliance with
Mahmud of Ghazna, Nasr attempted to expand unsuccessfully into Ghaznavid territory. 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. Around the same time, the Kara-Khanid ruler Ilig Khan reached an agreement with
Mahmud of Ghazni, in which they agreed to partition former
Samanid territory along the
Oxus river.
Conquest of the western Tarim Basin The Muslim conquest of the Buddhist cities east of Kashgar began when the Kara-Khanid khaghan
Abdulkarim Satuq Bughra 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 ibn 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 (possibly in Iraq) who travelled to help Yusuf Qadir Khan, the Kara-Khanid
khaghan, in his conquest of Khotan, Yarkend, and Kashgar. The
"infidels" were said to have been driven towards Khotan, but 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. This conquest of the western
Tarim Basin, which includes Khotan and Kashgar is significant as the second wave of the
Turkic settlement 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 ,
Samarkand, dated 1170–1220 CE.
National History Museum of Samarkand. of Kara-Khanid ruler
Ali-Tegin, minted at
Dabusiyya in 1032/3. 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 a large part of Transoxiana, making Samarkand the capital. In 1041, another son of Nasr b. Ali, Muhammad 'Ayn ad-Dawlah (reigned 1041–52) 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 the 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 the Western Khanate.
Seljuk suzerainty In 1040, the
Seljuk Empire 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 (the
ulama), 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. For half a century, the Western Karakhanid Khanate was a
vassal of the Seljuks, who largely controlled the appointment of the Khanate's rulers in that time. 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 the Eastern Khanate invaded Transoxiana and briefly occupied the Seljuk town of Termez.
Qara Khitai invasion The
Qara Khitai (Western Liao dynasty) host which invaded Central Asia was composed of remnants from the defunct
Liao dynasty which was annihilated by the
Jin dynasty in 1125. The Liao noble
Yelü Dashi recruited warriors from various tribes and formed a horde that moved westward to rebuild the Liao dynasty. Yelü occupied Balasagun on the
Chu River, then defeated the Western Karakhanids in
Khujand in 1137. In 1141, the Qara Khitai became the dominant force in the region after they dealt a devastating blow to the Seljuk Sultan
Ahmad Sanjar and the Kara-Khanids 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 Khitai at the
Battle of Qatwan (1141) allowed the
Khwarazmian dynasty, then a vassal of the Qara Khitai, to expand into former Seljuk territory, where they became independent rulers circa 1190. In 1207, the citizens of Bukhara revolted against the
sadrs (leaders of the religious classes), which the
Khwarazmshah 'Ala' ad-Din Muhammad used as a pretext to conquer Bukhara. Muhammad then formed an alliance with the Western Karakhanid ruler
Uthman ibn Ibrahim (who later married Muhammad's daughter) 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 the rebels in 1211, effectively ending the Eastern Kara-Khanid. In 1214, the rebels in Kashgar surrendered to
Kuchlug, who had usurped the Kara-Khitai throne. In 1218, Kuchlug was killed by the
Mongol army. Some of the Kara-Khitai's eastern vassals including Eastern Kara-Khanids then joined the Mongol forces to conquer the Khwarezmian Empire. ==Culture==