The Eastern Kara-Khanids descend from a ninth-century confederation of Karluks, Yagmas, Chigils, and Tuhsi peoples living in Zhetysu, the western Tian Shan, and the Kashgar region. Karluk migrants had moved west from the Altai after 742, took Suyab on the Chu by 766, and absorbed Türgesh remnants. The dynasty's core remained Zhetysu and Kashgar, and the eastern branch administered from Balasagun, which served as its capital from 942 to 1130, before Kashgar took over.
Khans styled themselves khagan and held Turkic regnal titles such as Arslan Qara Khaqan and Bughra Qara Khaqan, and the realm was divided into appanages tied to four urban centers: Balasagun, Kashgar, Uzgen, and Samarkand. Mahmud al-Kashgari, writing in the eleventh century, traced the dynasty's descent to the legendary Alp Er Tunga, and the Khanate's coinage and chancery language mixed Khaqani Turkic with Persian verse and Arabic coin legends. Kashgar's conquest of the Buddhist Kingdom of Khotan in 1006 ended Khotan's independence and opened the western Tarim Basin to Turkic settlement.
The khanate's population mixed nomadic pastoralists with settled oasis farmers and urban craftsmen in Kashgar and Balasagun, and the court rested on the ruling lineage's rivalry with its own princes. Under the ülüş appanage system, each branch of the Ashina-descended family held cities and revenues in its own right, which fragmented authority and left provincial governors with independent power. The conversion of the ruling house to Islam in the mid-tenth century, with the reported mass conversion of 200,000 Turkic tents in 960, reshaped legal and religious life, and Muslim clerics in Transoxiana later became a political force against the dynasty.
Internal warfare over succession after Hasan Bughra Khan's death in 992 split the Karakhanids, and by the 1040s the Hasan family held the Eastern Khanate centered on Balasagun and Kashgar while the Western Khanate ruled Samarkand. Fergana and Zhetysu became contested borderlands between the two states. The Seljuks defeated the Ghaznavids at Dandanaqan in 1040, and by 1089 they controlled Samarkand and the Western domains, reducing the Western dynasty to a vassal state. The Eastern branch subsequently passed under Qara Khitai suzerainty before its final collapse in 1211, and the 1138 end date of this entry marks the close of the Eastern dynastic line's independent authority within the wider Karakhanid world.
The Eastern Kara-Khanids emerged when the wider Kara-Khanid state split into eastern and western branches in the early eleventh century, with the Hasan family holding the eastern lands from Balasagun and later Kashgar while the western branch ruled Transoxiana from Samarkand. Fergana and Zhetysu formed the contested frontier between the two halves, and the eastern khans retained an implicit seniority as heirs to the dynasty's original domains in Zhetysu and Kashgar. The realm bridged the steppe and the settled oases, where Karluk Turkic speech spread among townspeople while Persian remained the language of poetry and Arabic the language of coinage and faith.
Rulers
At court
Wars & turning points
Rulers & characters
- Ibrahim Tamghach Khan r. 1041–1052 CE [3]Eastern Kara-Khanid khan · Hasanid Eastern line
A son of Nasr b. Ali who took control of the eastern administration and brought stability by limiting the appanage system that had fueled internal strife across the Kara-Khanid state. His reign fixed the eastern capital at Balasaghun and later Kashgar, anchoring the eastern branch as the senior line of the dynasty.
Muslim historians remembered him as a great ruler who curbed the appanage divisions that had torn the khanate apart.
- Ahmad b. Khidr r. 1089–1095 CE [3]Eastern Kara-Khanid khan under Seljuk suzerainty · Hasanid Eastern line
Ibrahim's grandson, restored to power by the Seljuks after they seized Samarkand and the western domains in 1089. The eastern khans of Kashgar declared submission after a Seljuk campaign into Talas and Zhetysu, though eastern vassalage lasted only briefly before the Qara Khitai arrived.
The Transoxianian ulama accused him of heresy and secured his execution in 1095.
Wars, rebellions & turning points
- Civil war Eastern-Western Kara-Khanid split [3]Hasanid eastern branch vs. Nasrid western branch
Dynastic fracture after a son of Hasan Bughra Khan seized Bukhara and Böritigin, son of Nasr, won control of Transoxiana and made Samarkand his capital. Muhammad 'Ayn ad-Dawlah took over the western administration in 1041, formalizing two rival khanates with Fergana and Zhetysu as the contested border.
Outcome: The Kara-Khanid Khanate divided into Eastern and Western states, with the eastern branch centered at Balasaghun and later Kashgar.
- War Seljuk seizure of Samarkand [3]Seljuk Empire vs. Kara-Khanids
During the reign of Ibrahim's grandson Ahmad b. Khidr, the Seljuks entered and took control of Samarkand together with the domains of the Western Khanate. The Karakhanids of Kashgar then declared submission after a Seljuk campaign into Talas and Zhetysu.
Outcome: The Western Khanate became a Seljuk vassal for half a century; the Eastern Khanate was a vassal only briefly.
- War Qara Khitai capture of Balasagun [3]Qara Khitai vs. Kara-Khanids
Yelü Dashi's Qara Khitai host, formed from remnants of the Liao dynasty destroyed by the Jin in 1125, occupied Balasagun on the Chu River and then defeated the Western Karakhanids at Khujand.
Outcome: Balasagun fell to the Qara Khitai, ending eastern Kara-Khanid independence and reducing the dynasty to vassal status.
Follow Balasagun - War Battle of Qatwan [3]Qara Khitai vs. Seljuk Sultan Ahmad Sanjar and Kara-Khanids
The Qara Khitai dealt a devastating blow to the Seljuk Sultan Ahmad Sanjar and the Kara-Khanids near Samarkand, becoming the dominant force in Central Asia.
Outcome: Seljuk power collapsed in the region and the Kara-Khanids remained in power only as Qara Khitai vassals and tax collectors.
Follow Battle of Qatwan - Shock Kashgar rebellion suppressed [3]Eastern Kara-Khanids vs. Qara Khitai
A rebellion of the Eastern Kara-Khanid in Kashgar was suppressed by the Kara-Khitai, who took the prince Yusuf hostage to Balasagun before later releasing him.
Outcome: Eastern Kara-Khanid resistance was crushed and the prince held as a hostage, marking the final eclipse of eastern autonomy.
Follow Kashgar
Achievements & reckoning
Achievements
- Square-holed coinage [3]
Early proto-Qarakhanid coinage featured Chinese-style square-holed pieces combined with Arabic writing, and Kara-Khanid monarchs minted coins bearing the titles Tamghaj Khan (Khan of China) and Malik al-Mashriq wa-l'Sin (King of the East and China), linking steppe rule to Chinese imperial imagery.
- Turkic dictionary [3]
Mahmud al-Kashgari wrote the Dīwānu l-Luġat al-Turk, the first comprehensive dictionary of Turkic languages, in Arabic for the Caliphs of Baghdad between 1072 and 1076, documenting the speech of the Karluk tribes and other Turkic peoples.
Follow Baghdad - Kutadgu Bilig [3]
Yusuf Balasaghuni, hajib or chancellor of the Karakhanids, wrote Kutadgu Bilig (The Wisdom of Felicity), the only known literary work in Turkic from the Karakhanid period, a mirror-for-princes text blending Turkic and Islamic political thought.
Reckoning
- Appanage civil strife [3]
The Ülüş appanage system divided the realm among princely lines centered at Balasagun, Kashgar, Uzgen, and Samarkand, producing frequent internal warfare that fractured the khanate into eastern and western states and left Fergana and Zhetysu as a constantly contested border.
- Conquest of Khotan [3]
In 1006 Yusuf Qadir Khan of Kashgar conquered the Buddhist Kingdom of Khotan, ending its existence as an independent state and driving its population toward the desert in what Muslim accounts cast as a religious war against infidels.
Follow Buddhist - Execution of Ahmad b. Khidr [3]
In 1095 the ulama of Transoxiana accused the khan Ahmad b. Khidr of heresy and secured his execution, showing how religious scholars could overturn and kill a ruler with outside Seljuk backing.
Deeper cuts
First Turkic language dictionary
Mahmud al-Kashgari, who may have lived at the Karakhanid court in Kashgar, compiled the Dīwānu l-Luġat al-Turk in Arabic between 1072 and 1076 for the Abbasid Caliphs of Baghdad. It was the first comprehensive dictionary of Turkic languages, classifying dialects and preserving vocabulary from the Karluk, Chigil, Yagma, and other tribes that formed the khanate, making it a foundational document for Turkic philology.
Written in Arabic for the Caliphs of Baghdad in 1072–76 CE.
Kutadgu Bilig and Turkic political thought
Yusuf Balasaghuni, the Karakhanid hajib or chancellor, composed Kutadgu Bilig (The Wisdom of Felicity), the sole surviving literary work in Turkic from the Karakhanid era. Written as a mirror for princes, it counselled rulers on justice, kingship, and the balance between Turkic nomadic custom and Islamic sedentary governance, and it circulated in the courtly world centered on Balasagun and Kashgar.
The only known literary work written in Turkic from the Karakhanid period.
Islamization and the end of Buddhist Khotan
The Kara-Khanids converted to Islam around 934 when Satuq Bughra Khan adopted the faith and conquered Kashgar. Over the following century they pressed east into the Tarim Basin, and in 1006 Yusuf Qadir Khan captured the Buddhist Kingdom of Khotan, ending its independence. The shift replaced Buddhist monastic culture with Muslim urban institutions, mosques, and madrasas across Kashgar and the western oases.
Satuq Bughra Khan obtained a fatwa permitting him to kill his still-pagan father after conversion.
Towns, tents, and the twenty thousand converts
The Kara-Khanid realm combined nomadic Karluk life with settled oasis cities. Muslim historians recorded a mass conversion around 960 of reportedly 200,000 tents of Turks, likely the Karakhanids, marking the shift from Tengrism and Buddhism to Islam across households. Families lived in yurts on the steppe and in mud-brick houses in Kashgar, Balasagun, and Uzgen, trading in markets where Persian poetry, Turkic speech, and Arabic coinage circulated side by side.
Reportedly 200,000 tents of Turks converted around 960 CE.
Caravan cities on the eastern Silk Road
Balasagun on the Chu River, Kashgar in the western Tarim Basin, Uzgen in Fergana, and Samarkand in Transoxiana formed a network of caravan cities linking the steppe, China, and the Islamic world. Merchants moved silk, spices, horses, and textiles through these oases, while the khans' square-holed coins with Arabic and Chinese-style inscriptions facilitated exchange across cultural frontiers.
Square-holed coins blended Chinese form with Arabic script.
Structural lenses
Drafted by HY4 Flash (lens-v1.1) from the cited sources.
Tribal Confederation and the Islamization of Turkic Communities
Karluk, Yaghma, Chigil, Tuhsi, and other groups formed the ruling confederation; Chigil warriors appear to have supplied its military core. After the dynasty’s conversion to Islam, its rulers promoted the faith among Turkic communities and fought Buddhist Khotan, whose independent kingdom fell to Kashgar in 1006. Turkic predominance grew in Transoxiana as the ruling culture also absorbed Perso-Arab Muslim practices.
Muslim historians reported that 200,000 Turkic tents converted in 960, though the figure is not independently established.
Minted Coinage and al-Kāshgharī's 1070 World Map
Kara-Khanid history is reconstructed less from chronicles than from coinage: written sources survive only in fragmentary and contradictory form, while mint output supplies a datable sequence of rulers and titles. Coins struck in the Khanate's urban mints carried Islamic inscriptions and Turkic royal names, making each issue a record of who held authority in a given year. In Kashgar, Mahmūd al-Kāshgharī completed the First Turkic Map in 1070, a surviving cartographic artifact that marks the Eastern capital as a center of geographic learning.
Mahmūd al-Kāshgharī (1005–1102) produced the First Turkic Map at Kashgar in 1070 CE.
Ülüş Revenue Appanages and the Oxus Commercial Frontier
The Khanate distributed fiscal rights through the Ülüş appanage system rather than a single central treasury, assigning revenue streams to royal household branches seated in four cities. Khans of the ancestral Zhetysu and Kashgar appanages kept implicit seniority over cousins governing Transoxiana and Fergana, so taxes from the conquered Samanid towns flowed through a hierarchy of princely households. Partition of the Samanid domains in 999 fixed the Oxus as a commercial frontier, with Transoxiana under Karakhanid control and Khorasan and Afghanistan passing to the Ghaznavids.
The four appanage seats were Balasagun in Zhetysu, Kashgar in Xinjiang, Uzgen in Fergana, and Samarkand in Transoxiana.
Fatwas, Heresy Charges, and Layered Khagan Titles
Islamic authority reshaped the court without displacing Turkic political language: rulers kept titles such as khan, khagan, Ilek, and Tegin, later adding sultan. A fatwa reportedly authorized Satuq Bughra Khan to kill his still-pagan father. In 1095, Transoxianan ulama accused Ahmad b. Khidr of heresy and secured his execution, showing religious jurists could decide a ruler’s fate.
Underappreciated & strange truths
After converting to Islam, Satuq Bughra Khan reportedly obtained a fatwa permitting him to kill his still-pagan father, who was then deposed, before he seized Kashgar; the account is preserved in an Ottoman historian's chronicle rather than in contemporary records.
- Khan of China title [3]
Kara-Khanid monarchs adopted the title Tamghaj Khan, Turkic for Khan of China, and Sulṭān al-Sharq wa al-Ṣīn, Sultan of the East and China, centuries after the Tang dynasty lost Central Asia, minting coins that claimed Chinese-style sovereignty while ruling a Turkic Muslim khanate.
Follow coinage - Qara Khitai tax collectors [3]
After the Qara Khitai conquest, Buddhist rulers from the fallen Liao dynasty allowed Muslim Karakhanids to continue ruling Samarkand and Kashgar as tax collectors and administrators, preserving Islamic religious life under foreign Buddhist suzerainty.
Follow Samarkand - House of Afrasiab [3]
The dynasty called itself the Afrasiabids, House of Afrasiab, claiming descent from the mythical Turanian king named in the Shahnameh, while Mahmud al-Kashgari identified that same Afrasiab with the legendary Turkic king Alp Er Tunga.
Follow Afrasiab
State ledger
- Lifespan
- 1046–1138 CE
- Peak territory
- 984,456 km²
- Capital
- Balasagun, Kashgar
- Languages
- Persian, Karakhanid
- Government
- monarchy
- Religion
- Tengrism
Connected world
Linked Balasagun and Kashgar to Transoxiana's Samanid and Ghaznavid rivals, Seljuk overlords in Iran, Qara Khitai rulers after 1141, and Persian and Arabic literary and coin cultures across Central Asia.
Drafted by HY4 Flash (links-v2.0) from the cited sources.
-
At the start of the 12th century the Eastern Khanate invaded Transoxiana and briefly occupied the Seljuk town of Termez.
-
Yelü Dashi's Qara Khitai host seized Balasagun, the Eastern Khanate's capital on the Chu River, during their westward conquest.
Drafted by Claude Haiku 5.5 (polity-v1.5) from six cited sources · almanac by Nemotron 3.5 Super VL (almanac-v1.2) · deep lenses by HY4 Flash (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 |
|---|---|---|---|---|---|
| Balasaghun | Kyrgyzstan | 40k | 47k (1150 CE) | Locate → | |
| Kashi | China | — | 72k (1533 CE) | Dossier → Locate → |
Languages across the footprint
| Language | Family | Macroarea | Horizon |
|---|---|---|---|
| Tumshuqese | Indo-European | Eurasia | Glottolog 5.3 |
| Xibe | Tungusic | Eurasia | Glottolog 5.3 |
| Khotanese | Indo-European | 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
Primary archive holdings
- Khurasan Seljuk Cast Brass Jug · 1100 CE
Cleveland Museum of Art · 1100s · Khurasan / Karakhanid Sphere
XICulture & letters
From the source
Dīwān Lughāt al-Turk (Compendium of the Turkic Dialects) — fragments preserved in Kara-Khanid historiography Maḥmūd al-Kāshgharī · c. 1077 CE “据大约在1077年成书的麻赫穆德·喀什噶里所撰《突厥语大词典》提供的片断材料,喀喇汗国自称“可汗朝”(al-Khaqaniyya,一译“哈卡尼耶”)或“汗朝”(al-Khāniyya),汗室自认是波斯民间传说中与伊兰人世代争斗的图兰人英雄阿弗拉西亚布的后人。”
A near-contemporary lexicographer's record shows how the Muslim Turkic Kara-Khanid court styled itself 'the dynasty of the Khagan' (al-Khaqaniyya) and claimed descent from the legendary Turanian hero Afrasiab — legitimizing rule through Turkic khaganal titles layered onto Persianate epic genealogy.
Model-drafted synthesis · GLM-5.3 Flash
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.
- Records of the Three Kingdoms (Sanguozhi), account of Byeonhan (Chen Shou (as preserved in the Chinese historiographical record)). CC BY-SA 4.0 / Public Domain.