The Kara-Khanid Khanate grew out of a Karluk confederation formed in the ninth century by Karluks, Yagmas, Chigils, and Tuhsi tribes living in Zhetysu, the western Tian Shan, and western Xinjiang around Kashgar. Its ruling house took the title Kara Khagan, and its earliest seats lay at Balasagun in Zhetysu and at Kashgar. Between 990 and 992 Hasan Bughra Khan took Isfijab, Ferghana, Ilaq, Samarkand, and the Samanid capital Bukhara, and by 999 Nasr b. Ali held Chach, Samarkand, and Bukhara as the Samanid domains were divided with the Ghaznavids, leaving the Oxus River as the frontier between the two empires.
Rule was organized through an appanage system in which the khanate's four principal urban centers, Balasagun, Kashgar, Uzgen in Ferghana, and Samarkand, were held by dynastic princes, with the older Zhetysu and Kashgar lines keeping implicit seniority. Coinage was struck at Bukhara and elsewhere with Arabic inscriptions, and court literature and dynastic records were written in Khaqani Turkic, while Persian served for poetry. In the mid-tenth century Satuk Bughra Khan converted to Islam, and his son Musa pressed against the Buddhist Kingdom of Khotan, after which Yusuf Qadir Khan ended Khotan's independence in 1006 and brought the western Tarim Basin under Muslim Turkic rule. Mahmud al-Kashgari, writing in the eleventh century, recorded the Turkic lineages and legends that legitimized the house, and the Turkic vizier Yusuf Balasaguni served as hajib.
Turkic and Persian-speaking populations remained divided by dynastic and religious lines, and Muslim accounts of the conquest of Khotan describe pagan and Buddhist populations driven out or killed as the Karakhanids expanded. Conversion was itself a political act: one account says Satuk Bughra Khan obtained a fatwa that let him act against his still-pagan father before taking Kashgar, and Muslim historians describe a mass conversion of some 200,000 Turkic tents around 960. Their rule accelerated Turkic settlement across the Tarim Basin and Transoxiana, shifting these lands from Iranic to Turkic predominance even as the dynasty assimilated Perso-Arab Muslim culture.
Frequent internal warfare among Hasan, Ali Tegin, and Nasr lines split the dynasty in the 1040s into an Eastern Khanate centered on Balasagun and Kashgar and a Western Khanate centered on Samarkand, with Fergana and Zhetysu contested between them. In 1089 Ahmad b. Khidr lost Samarkand and the western domains to the Seljuks, who then controlled the Western Khanate's rulers for half a century. The Qara Khitai defeated the Seljuks at Qatwan in 1141, the Eastern Khanate ended in 1211, and the Western Khanate was extinguished by the Khwarazmian Empire in 1212.
The Kara-Khanid Khanate began as a Karluk-led confederation in Zhetysu and the Western Tian Shan, where its first khans ruled from Suyab before establishing Balasagun as a capital. Its conversion to Islam around 934 under Satuq Bughra Khan marked a decisive break with Tengrism and Nestorian Christianity, reorienting the realm toward Muslim culture while Turkic speech spread among the sedentary population. By the early eleventh century the state fractured into Eastern and Western branches, with Balasagun and Kashgar anchoring the east and Samarkand anchoring the west, a division that left Fergana as a perennial borderland contested by both houses.
Rulers
At court
Wars & turning points
Rulers & characters
- Satuq Bughra Khan c. 920–955 CE [3]Kara-Khanid khaghan of Kashgar · Eastern Karakhanids
First Kara-Khanid ruler to convert to Islam, obtaining a fatwa that permitted him to kill his still-pagan father before conquering Kashgar. His conversion reoriented the khanate from Tengrism and Nestorian Christianity toward Muslim culture and launched the long war against the Buddhist Kingdom of Khotan.
He reportedly secured a religious ruling that allowed him to execute his own father for remaining pagan.
Follow Kashgar - Hasan Bughra Khan 990–992 CE [3]Kara-Khanid conqueror of Bukhara · Eastern Karakhanids
Grandson of Satuq Bughra Khan who seized Isfijab, Ferghana, Ilaq, Samarkand, and the Samanid capital Bukhara between 990 and 992. His sudden death from illness allowed the Samanids to retake Bukhara, but his campaign opened Transoxiana to Kara-Khanid rule.
He died of illness at the height of his conquest, briefly undoing his own gains.
- Ibrahim Tamghach Khan early 11th century CE [3]Western Karakhanid ruler · Western Karakhanids
Described by Muslim historians as a great ruler who brought stability to the Western Karakhanids by limiting the appanage (ülüş) system that had fueled repeated civil wars among princely branches.
He curbed the appanage system that kept the dynasty fractured by princely rivalries.
- Yusuf Balasaghuni 11th century CE [3]Hajib (chancellor) and poet · Karakhanid court
Karakhanid chancellor who wrote Kutadgu Bilig (The Wisdom of Felicity), the only known literary work in Turkic from the Karakhanid period, a mirror-for-princes text that blended Islamic statecraft with Turkic kingship.
His treatise remains one of the earliest surviving works of Turkic Muslim political thought.
- Mahmud al-Kashgari c. 1005–1102 CE [3]Karakhanid scholar and lexicographer · Karakhanid scholarly circle
Author of the Dīwānu l-Luġat al-Turk, the first comprehensive dictionary of Turkic languages, written in Arabic for the Abbasid Caliphs of Baghdad between 1072 and 1076. His work preserved the vocabulary and grammar of the Karluk Turkic spoken under Kara-Khanid rule.
He compiled his dictionary in Baghdad for the caliphs while writing about the Turkic peoples of his homeland.
Wars, rebellions & turning points
- Shock Conversion to Islam [3]Kara-Khanid khaghanate
Satuq Bughra Khan converted to Islam, obtained a fatwa permitting him to kill his pagan father, and then captured Kashgar, reorienting the khanate from Tengrism and Nestorian Christianity toward Muslim culture.
Outcome: Islam became the state religion and launched the conquest of the Buddhist western Tarim Basin.
- War Conquest of Transoxiana [3]Kara-Khanids vs Samanids
Hasan Bughra Khan and later Ali Arslan Khan took Isfijab, Ferghana, Ilaq, Samarkand, and Bukhara from the Samanids. By 999 Nasr had captured Chach, Samarkand, and Bukhara, and the Oxus River became the boundary between the Karakhanids and the Ghaznavids.
Outcome: Transoxiana passed to the Karakhanids, ending Samanid rule there and marking a shift from Iranic to Turkic predominance in Central Asia.
- War Conquest of Khotan [3]Kara-Khanids vs Kingdom of Khotan
Yusuf Qadir Khan of Kashgar conquered the Buddhist Kingdom of Khotan, ending its existence as an independent state after a long period of war between Kashgar and Khotan.
Outcome: The western Tarim Basin fell under Kara-Khanid rule, completing the second wave of Turkic settlement in the Tarim Basin.
- War Battle of Dandanaqan [3]Seljuk Empire vs Ghaznavids
The Seljuk Empire defeated the Ghaznavids and entered Iran, after which conflict broke out between the Seljuks and the Karakhanids over Greater Khorasan.
Outcome: Seljuk power expanded into Iran and brought the Karakhanids into direct rivalry with a new imperial neighbor.
Follow Seljuk Empire - Civil war Division into Eastern and Western Khanates [3]Kara-Khanid princely branches
Frequent internal warfare fractured the dynasty, with Muhammad 'Ayn ad-Dawlah taking over the western branch from 1041 to 1052 while the Hasan family retained the Eastern Khanate at Balasagun and later Kashgar.
Outcome: The khanate split into two rival states, with Fergana as a contested borderland between them.
- War Seljuk conquest of Samarkand [3]Seljuk Empire vs Western Karakhanids
During the reign of Ahmad b. Khidr, the Seljuks entered and took control of Samarkand and the Western Khanate's domains after Transoxianan ulama requested Seljuk intervention against Karakhanid rulers.
Outcome: The Western Karakhanid Khanate became a Seljuk vassal for half a century, with Seljuks largely controlling the appointment of its rulers.
- War Battle of Qatwan [3]Qara Khitai vs Seljuk Empire and Kara-Khanids
The Qara Khitai dealt a devastating blow to Seljuk Sultan Ahmad Sanjar and the Kara-Khanids near Samarkand, becoming the dominant force in Central Asia while allowing Karakhanids to remain as vassal tax collectors.
Outcome: Qara Khitai suzerainty replaced Seljuk suzerainty over the Karakhanids, who continued to administer Muslim populations under Buddhist rulers.
Follow Battle of Qatwan - Shock Extinction of the Western Khanate [3]Khwarazmian Empire vs Kara-Khanids
After a Samarkand revolt against the Khwarezmians was supported by Uthman ibn Ibrahim, the Khwarezm-Shah returned, recaptured Samarkand, executed Uthman, and demanded the submission of all leading Karakhanids.
Outcome: The Western Karakhanid state was extinguished, ending independent Kara-Khanid rule in Central Asia.
Follow Samarkand
Achievements & reckoning
Achievements
- Conquest of Transoxiana [3]
Between 990 and 999 the Kara-Khanids took Bukhara, Samarkand, and Chach from the Samanids, establishing the Oxus River as their boundary with the Ghaznavids and shifting Central Asia from Iranic to Turkic political predominance.
- Turkic language dictionary [3]
Mahmud al-Kashgari wrote the Dīwānu l-Luġat al-Turk in Arabic for the Abbasid caliphs of Baghdad between 1072 and 1076, the first comprehensive dictionary of Turkic languages and a vital record of Karluk speech under Kara-Khanid rule.
- Kutadgu Bilig treatise [3]
Yusuf Balasaghuni composed Kutadgu Bilig (The Wisdom of Felicity), the only known literary work in Turkic from the Karakhanid period, blending Islamic counsel-for-rulers with Turkic concepts of kingship.
- Quran translated into Turkic [3]
The Kara-Khanids translated the Quran into Middle Turkic, with four surviving copies and a Middle Turkic excerpt of Al-Fatiha attributed to the period, marking an early vernacular scripture in a Turkic language.
Reckoning
- Dynastic civil wars [3]
The ülüsh appanage system split the khanate into appanages centered on Balasagun, Kashgar, Uzgen, and Samarkand, producing repeated internal warfare that fractured the state into Eastern and Western Khanates in the 1040s.
- War against Buddhist Khotan [3]
Kara-Khanid khaghans waged a long war against the Buddhist Kingdom of Khotan, culminating in Yusuf Qadir Khan's conquest in 1006 and the end of Khotan's independent existence.
- Seljuk and Qara Khitai vassalage [3]
After 1089 the Western Khanate became a Seljuk vassal whose rulers were largely appointed by Seljuk sultans, and after 1141 the Karakhanids served as Qara Khitai tax collectors in Samarkand and Kashgar.
- Execution of Ahmad b. Khidr [3]
In 1095 the ulama of Transoxiana accused the Seljuk-restored ruler Ahmad b. Khidr of heresy and secured his execution, illustrating the power of religious factions to remove Karakhanid monarchs.
Deeper cuts
First Turkic language dictionary
Mahmud al-Kashgari's Dīwānu l-Luġat al-Turk, composed in Arabic for the Abbasid caliphs of Baghdad between 1072 and 1076, was the first comprehensive dictionary of Turkic languages. It recorded the speech of the Karluk tribes under Kara-Khanid rule and preserved a grammatical snapshot of the Turkic speech that would evolve into Chagatay and Kypchak. The work also included the first known ethnolinguistic map of Turkic peoples, making it a landmark in both lexicography and the history of cartography.
Written in Arabic for the caliphs of Baghdad in 1072–76 CE.
Kutadgu Bilig mirror for princes
Yusuf Balasaghuni, a Karakhanid hajib or chancellor, wrote Kutadgu Bilig (The Wisdom of Felicity), the only known literary work in Turkic from the Karakhanid period. Composed in the eleventh century, it offers counsel on just rule, combining Islamic statecraft with native Turkic ideas of kingship and providing a rare window into how a Turkic Muslim court conceived of governance.
The sole surviving Karakhanid-era literary work in Turkic.
Town and nomad under Karakhanid rule
The Kara-Khanid realm linked nomadic Karluk, Yagma, and Chigil tribes with sedentary urban centers such as Balasagun, Kashgar, Uzgen, and Samarkand. Coins minted at the Bukhara mint around 950 CE and ceramic jars from Samarkand dated to 960 CE show a monetized urban economy. Local populations gradually shifted from Iranian speech to Turkic while retaining Persian administrative and literary culture, producing households that moved between steppe and city life.
Bukhara mint coins from 950 CE and Samarkand ceramic jars from 960 CE.
Silk road hubs and square-holed coins
Kara-Khanid capitals sat on the Silk Road between Transoxiana and the Tarim Basin. Early proto-Qarakhanid coinage featured Chinese-style square-holed pieces combined with Arabic writing, and rulers minted coins bearing titles such as Tamghaj Khan, Khan of China. These coins connected Central Asian markets to Chinese numismatic traditions and to the wider Islamic monetary world.
Chinese-style square-holed coins with Arabic inscriptions.
From Tengrism to Islam
The Kara-Khanids began with Tengrism, Nestorian Christianity, and Buddhism before Satuq Bughra Khan converted to Islam around 934. After conversion, the khans obtained fatwas permitting action against pagan relatives and directed military campaigns against Buddhist cities east of Kashgar. By 1006 the Kingdom of Khotan had fallen, and Islam became the dominant faith of the realm while older Turkic and Buddhist traditions persisted in the countryside.
Satuq Bughra Khan converted in 934 and then conquered Kashgar.
Islamic counsel for Turkic kings
Karakhanid political thought merged Islamic ideas of just rule with Turkic sacral kingship. Kutadgu Bilig advised rulers on wisdom, felicity, and the proper ordering of court and realm, while the dynasty's adoption of titles such as sultan and sultān al-salātīn showed how Turkic rulers assimilated Arabic Islamic political vocabulary without abandoning the khagan title.
A Turkic mirror-for-princes written by a Karakhanid chancellor.
Structural lenses
Drafted by Iceman (lens-v1.1) from the cited sources.
Tribal Levies and Mass Conversion of Turkic Tents
Karakhanid power rested on a confederation of Karluk, Yaghma, Chigil, Tuhsi, and other steppe tribes, and Chigils appear to have formed the nucleus of the army. Around 960, Muslim chroniclers Ibn Miskawaih and Ibn al-Athir recorded the conversion of some 200,000 Turkic tents to Islam, pulling pastoral households into the ruling dynasty's new faith.
The reported figure of 200,000 tents marks a conversion that reached far beyond the court of Satuq Bughra Khan.
Appanage Partition of Four Principal Urban Seats
Karakhanid rule distributed authority through the Ülüş appanage system, assigning dynastic branches to four principal urban centers: Balasagun in Zhetysu, Kashgar in Xinjiang, Uzgen in Fergana, and Samarkand in Transoxiana. Holding these seats placed steppe lineages in command of major oasis cities and their surrounding agrarian districts.
The original Zhetysu and Kashgar domains retained implicit seniority over the appanages of Transoxiana and Fergana.
Fatwas, Khanly Titles, and Heresy Charges
Karakhanid rulers adopted Muslim names and honorifics without abandoning Turkic titles such as khan, khagan, ilig, and tegin. A fatwa reportedly authorized Satuq Bughra Khan to kill his still-pagan father; later, Transoxianan religious scholars sought Seljuk intervention in dynastic conflict. In 1095, the ulama accused Ahmad b. Khidr of heresy and secured his execution.
Muslim historians reported that 200,000 tents of Turks converted in 960.
Underappreciated & strange truths
Muslim accounts describe the four imams from Mada'in who joined Yusuf Qadir Khan's campaign against Khotan and were killed in the fighting, while the Buddhist defenders were driven back toward Khotan itself.
- Khan of China title [3]
Kara-Khanid monarchs adopted the title Tamghaj Khan, Turkic for Khan of China, and minted coins with this title alongside Arabic inscriptions, claiming a connection to China centuries after the Tang dynasty had lost Central Asia following the Battle of Talas in 751.
- House of Afrasiab [3]
The dynasty called itself the Afrasiabids, House of Afrasiab, linking its rulers to the mythical Turanian king from the Shahnameh and claiming descent from the legendary Turkic progenitor Alp Er Tunga.
Follow Afrasiab - Buddhist Qara Khitai protectors [3]
After the Battle of Qatwan in 1141, Buddhist Qara Khitai rulers allowed Muslim Kara-Khanids to continue as tax collectors in Samarkand and Kashgar, and Islamic religious life continued uninterrupted under Buddhist suzerainty.
State ledger
- Lifespan
- 850–1045 CE
- Peak territory
- 1,311,108 km²
- Capital
- Balasagun, Kashgar
- Languages
- Persian, Karakhanid
- Government
- monarchy
- Religion
- Tengrism
- Seshat ID
- kg_kara_khanid_dyn
Connected world
Linked Balasagun, Kashgar, and Samarkand to Samanid Bukhara, Ghaznavid Khorasan, the Seljuk Empire, Qara Khitai, and the Khwarazmian realm, and bridged Turkic, Persian, and Arabic-speaking courts across the Oxus and Tarim trade zones.
Drafted by HY4 Flash (links-v2.0) from the cited sources.
-
Hasan b. Sulayman seized Isfijab, Ferghana and the Samanid capital Bukhara in 990–992; after his death Ali b. Musa's son Nasr took Chach, Samarkand and Bukhara by 999, partitioning Samanid Transoxiana.
-
After Satuq Bughra Khan's conversion, his son Musa pressed the Buddhist kingdom; decades of war culminated in Yusuf Qadir Khan's 1006 conquest of Khotan, ending it as an independent state.
-
After the Seljuk victory at Dandanaqan in 1040, conflict broke out with the Kara-Khanids, who initially withstood Seljuk attacks and briefly took Seljuk towns in Greater Khorasan.
-
Karakhanid conquest of Samarkand and Bukhara in 999 partitioned the Samanid realm: the Ghaznavids took Khorasan and Afghanistan, the Karakhanids Transoxiana, with the Oxus as their shared boundary.
Drafted by Claude Haiku 5.5 (polity-v1.5) from five cited sources · almanac by Nemotron 3.5 Super VL (almanac-v1.2) · deep lenses by Iceman (lens-v1.1), and checked that every citation points to one of them. See the evidence How AI is used
IXCities & tongues
Mapped cities & trade towns
| City | Country | Near peak | Peak pop. | Growth | Globe |
|---|---|---|---|---|---|
| Bukhara | Uzbekistan | 73k | 100k (900 CE) | Dossier → Locate → | |
| Samarkand | Uzbekistan | 45k | 150k (1405 CE) | Dossier → Locate → | |
| Balasaghun | Kyrgyzstan | 39k | 47k (1150 CE) | Locate → |
Languages across the footprint
| Language | Family | Macroarea | Horizon |
|---|---|---|---|
| Tumshuqese | Indo-European | Eurasia | Glottolog 5.3 |
| Khotanese | Indo-European | Eurasia | Glottolog 5.3 |
| Sogdian | Indo-European | Eurasia | Glottolog 5.3 |
| Xibe | Tungusic | Eurasia | Glottolog 5.3 |
XArchives & dossiers
Dossiers across this ground
- Kashgar & Balasagun: Mahmūd al-Kāshgharī & First Turkic Map (1070 CE) · Central Asia & Steppe, 1070 CEOpen dossier →
How Qarakhanid scholars forged Turkic-Islamic letters, mapped the globe from Japan to Egypt, and compiled 7,500 Turkic idioms
- Samanid Bukhara & the New Persian Revival (950 CE) · Central Asia & Steppe, 950 CEOpen dossier →
Samarkand paper mills, silver dirhams on the Volga, Rudaki's Persian verse, and the young Ibn Sina
Primary archive holdings
- Samarkand Albarello Ceramic Jar · 960 CE
Cleveland Museum of Art · 900s · Samarkand
- Bukhara Mint · 950 CE
Nomisma.org · c. 950 CE · Bukhara
XICulture & letters
Primary works, letters & books
No matching primary books indexed for this span yet.
XIISources & provenance
- Cliopatria Historical Polity Borders v0.2.0 (Seshat Databank). CC-BY-4.0.
- Wikidata Historical Entities & Lineage Spine. CC0-1.0.
- Wikipedia — Kara-Khanid Khanate. CC-BY-SA-4.0.
- Reba / Chandler Historical Urban Population Estimates (3700 BCE–1975 CE). CC-BY-4.0.
- Glottolog 5.3 Global Language & Family Classification. CC-BY-4.0.