Qocho, also called Kara-Khoja or Gaochang, was founded in 843 by Uyghur refugees who had been driven out of the Uyghur Khaganate by the Yenisei Kirghiz. Under the leadership of Pangtele, a migrating group occupied Karasahr and Kucha, taking them from the Tibetan Empire, and in 856 received royal recognition from the Tang dynasty, with Karasahr (Yanqi) serving as the early capital. The winter seat lay at Qocho near modern Turpan and the summer seat at Beshbalik, modern Jimsar County, also called Tingzhou, placing the kingdom across the oasis belt of the eastern Tarim Basin.
The ruling Idiqut, a title tracing descent to Qutlugh of the Ediz dynasty of the Uyghur Khaganate, governed a population drawn from Turkic, Tocharian, Chinese, and Iranian Sogdian communities. Uyghurs adopted Sogdian writing and faiths, first Manichaeism and then Buddhism, and gradually displaced Sogdian merchants as Silk Road traders. Chroniclers record that the Idiqut threatened to destroy mosques in retaliation when Manichaeans faced persecution in Khorasan, and that the Uyghur script was made vertical after Chinese models, with Old Uyghur derived from Syriac letters. Tang legacies remained visible in more than fifty monasteries whose gate names were granted by Tang emperors, and in Chinese rime dictionaries such as the Qieyun that Uyghur scholars copied and adapted.
Ordinary life in Qocho depended on irrigated oases fed by snowmelt, where summers were dry and hot and rain came only in autumn. A ninth-century decree against a Manichaean monastery shows clerics living in luxury with estates, serfs, and slaves, eating fine food and wearing costly garments, which contributed to the faith's decline. Uyghur monks and artisans painted the Bezeklik cave temples, and Buddhist patrons commissioned temple-caves that Muslim neighbors to the west mocked in derogatory Turkic texts. Burial practice kept the dead uncremated and unshrouded in coffins, with heads turned west.
The Idiqut ruled independently until the kingdom became a vassal of the Qara Khitai, or Western Liao, in 1132. In 1209 Baurchuk Art Tekin submitted to Genghis Khan, and Uyghur literate officials staffed Mongol bureaucracy for over a century. The Chagatai khan Ghiyas-ud-din Baraq later broke Yuan influence over Qocho, and between 1389 and 1399 Khizr Khoja forced the Buddhist population of Qocho and Turpan to convert to Islam under a declared jihad. Hami met the same fate, ending Uyghur Buddhism in the region.
Qocho, also called Kara-Khoja or Idiqut, began as a refuge state. Uyghurs driven out of the Uyghur Khaganate by the Yenisei Kirghiz reached the Turfan and Tarim region around 843. Under Pangtele, one group occupied Karasahr and Kucha, taking them from the Tibetan Empire, and by 856 received royal recognition from the Tang dynasty. Their winter capital was Qocho near Turpan and their summer capital was Beshbalik in the Jimsar area. The population was known by several names, including the Xizhou Uyghurs, the Qocho Uyghurs, the Kucha Uyghurs, and the Arslan (Lion) Uyghurs after the king's title.
The kingdom's long afterlife was shaped by conversion and forgetting. In the late fourteenth century the Chagatai ruler Khizr Khoja (r. 1389–1399) campaigned against Qocho and Turpan and forced their inhabitants to become Muslims, as Mirza Haidar Dughlat recorded in the Tarikh-i-Rashidi around 1540. Hami was likewise turned from Buddhism to Islam. Within a few generations the Turfan Turks had forgotten their Buddhist past and credited the monuments to the 'infidel Kalmuks,' a memory gap later scholars had to reconstruct.
Rulers
Wars & turning points
Rulers & characters
- Leader of the migrating Uyghur group that founded the Qocho polity · Uyghur refugee founders
Pangtele led a band of Uyghurs southward in 843 after the Uyghur Khaganate was destroyed. The group seized Karasahr and Kucha from the Tibetan Empire and built the base from which Qocho grew. His move turned a scattered refugee population into a state that the Tang court formally recognized by 856.
The founding leader survives mainly as a name in Chinese and Uyghur sources, and his birth and death years are not preserved.
Follow Karasahr - Chagatai Khanate ruler who forced Islamic conversion in Qocho and Turpan · Chagatai Khanate
Khizr Khoja launched a holy-war campaign against Qocho and Turpan, forcing the remaining Buddhist Uyghurs there to convert to Islam. The campaign is recorded in the Tarikh-i-Rashidi and marked the end of the kingdom's Buddhist identity. The conversion also ended the living transmission of Uyghur Buddhist practice in the region.
A later chronicler described the towns' inhabitants as forced into Islam, a version of events the Turfan population itself later forgot.
Follow Muslims - Kara-Khoja ruler who submitted to Genghis Khan · Qocho idiquts
In 1209 Baurchuk Art Tekin declared allegiance to the Mongols under Genghis Khan. The move turned Qocho into a vassal state that lasted until 1335. The Uyghur elite then served the Mongol rulers as bureaucrats, supplying the literacy that the largely illiterate nomad rulers lacked.
Mongol court practice ranked the Uyghur king above the Karluk Kara-Khanid ruler and the Korean king, because the Uyghurs surrendered first and without violent resistance.
Wars, rebellions & turning points
- Yenisei Kirghiz; Tibetan Empire
After the Yenisei Kirghiz drove the Uyghur Khaganate apart, a group under Pangtele moved south into the Tarim Basin. They seized Karasahr and Kucha from the Tibetan Empire, establishing the core of the new polity. Their first capital was at Karasahr (Yanqi).
Outcome: The Tang dynasty gave royal recognition to the group by 856, legitimizing the refugee state.
Follow Tang Chinese - Mongol Empire
Baurchuk Art Tekin declared allegiance to Genghis Khan in 1209, and Qocho became a Mongol vassal. Its Uyghur administrators took posts across the Mongol bureaucracy, and the kingdom later stayed allied to the Yuan against the Chagatai Khanate.
Outcome: Qocho remained a vassal until 1335, its elite becoming imperial administrators.
- Chagatai Khanate under Khizr Khoja
Khizr Khoja launched a campaign against Qocho and Turpan, described as a holy war, and forced their inhabitants to convert to Islam. The same pattern of conversion was applied to Hami, where Buddhism was purged.
Outcome: Uyghur Buddhism was effectively ended in the region, and later Turpan Muslims forgot the Buddhist monuments around them.
Follow Ghiyas-ud-din Baraq
Achievements & reckoning
Achievements
- Sogdian-based Old Uyghur alphabet [3]
The Uyghurs of Qocho moved from the Old Turkic alphabet to a modified Sogdian script, later called the Old Uyghur alphabet. Based on the Syriac script, they deliberately turned it vertical like Chinese writing, a sign of how much they valued Chinese prestige. The script carried Buddhist and Manichaean texts and administrative documents.
- Bezeklik cave murals and temple patronage [3]
Uyghur Buddhists sponsored many of the temple-caves at Bezeklik, and the murals include images of Uyghur patrons. James A. Millward describes the patrons' appearance as evidence of the Uyghur population's East Asian features before mixing with Tarim Basin peoples. The caves are among the best surviving records of the kingdom's religious art.
Reckoning
-
Khizr Khoja's campaign forced the inhabitants of Qocho and Turpan to become Muslims and purged Buddhism in Hami. The conversion was a final blow to Uyghur Buddhism. Later generations of Turpan Muslims credited the old Buddhist monuments to the 'infidel Kalmuks,' showing how thoroughly memory of the kingdom was broken.
- Comfortable Manichaean clergy and serf-owning monasteries [3]
A decree found at Turpan describes Manichaean clerics living in great comfort, with estates worked by serfs and slaves, fine food, and expensive garments. Scholars link this lifestyle to the decline of Manichaeism, as the faith's clergy lost public standing. The decree is one of the kingdom's most important surviving documents.
Follow Manichaeism
Deeper cuts
Manichaeism, Buddhism, and a shifting royal faith
The Uyghur ruling family of Qocho practiced Manichaeism until the early eleventh century, though by the 960s they also supported Buddhism. Manichaean monks accompanied Uyghur embassies from 934 to 951, while between 965 and 1022 the accompanying monks were Buddhists. Manichaeism in Qocho probably peaked in 866 and was gradually replaced. By 1008 Manichaean temples were being converted into Buddhist ones. The change reflected both royal choice and the shifting social standing of religious communities inside the kingdom.
A 9th-century decree to a Manichaean monastery bears eleven seals in Chinese characters and contains a dramatized dialogue between Mani and a prince.
Chinese learning in a Turkic kingdom
Tang rule over Qocho and Turfan left a lasting Chinese Buddhist imprint. More than fifty Buddhist temples bore names granted by Tang emperors, and Emperor Taizong's edicts were stored in an Imperial Writings Tower. Uyghur Buddhists studied the Thousand Character Classic and the Qieyun rime dictionary and developed their own pronunciations of Chinese characters. Chinese books such as the Tangyun and Buddhist scriptures in the Tripiṭaka were kept in temple libraries. The kingdom treated Chinese script as the most prestigious writing available, which shaped the design of its own alphabet.
The Old Uyghur alphabet was rotated to run vertically, copying the orientation of Chinese writing.
Silk Road traders and Sogdian mentors
Peter B. Golden writes that the Uyghurs adopted the writing system and religious faiths of the Sogdians, including Manichaeism, Buddhism, and Christianity, and looked to them as mentors. Over time the Uyghurs gradually replaced the Sogdians in their roles as Silk Road traders and purveyors of culture. Qocho sat on the route between China and the western trading world, so its markets and caravans carried Chinese silk, Central Asian goods, and religious texts. The shift from Sogdian to Uyghur dominance reshaped who controlled the caravan economy.
Structural lenses
Drafted by Nemotron 3.5 Super VL (lens-v1.1) from the cited sources.
Manichaean Clerical Estates and Serf Labor
A Turpan decree records Manichaean clerics living in comfort on estates worked by serfs and slaves, eating fine food and wearing expensive garments while the faithful supported them. The document bears eleven seals in Chinese characters, including those of cabinet ministers and Il Ugasi ministers of the Uyghur government, binding clerical privilege directly to the royal chancellery.
The 9th-century Turpan monastery decree carries eleven Chinese-character seals from Uyghur ministers.
Bezeklik Cave Temples and Tang Imperial Writings Tower
Buddhist Uyghur patrons sponsored the Bezeklik cave murals near Turpan, while more than fifty monasteries in Qocho city carried gate inscriptions granted by Tang emperors. Temples stored Chinese dictionaries such as Jingyun, Yupian, and Tang yun alongside the Buddhist canon, and the edicts of Emperor Taizong were preserved in an Imperial Writings Tower.
Qocho city contained more than fifty Buddhist monasteries whose titles were granted by Tang emperors.
Sogdian Trade Networks and Uyghur Merchant Assimilation
Uyghur rulers adopted Sogdian writing, Manichaeism, and Buddhism while regarding Sogdians as mentors in Silk Road commerce, gradually replacing them as traders and cultural purveyors across the Tarim Basin. Qocho's position between Turpan and Beshbalik placed its merchants on east-west caravan routes moving silk, tea, horses, and Central Asian goods.
Old Uyghur Script Reform and Chinese Rime Dictionaries
Uyghur scribes converted the horizontal Syriac-derived alphabet into vertical columns to mimic Chinese script prestige, then produced local copies of the Qieyun rime dictionary with their own character pronunciations. Buddhist monks studied Chinese language and texts while Persian monks maintained a Manichaean temple, creating a multilingual scribal culture at the Idiqut court.
Underappreciated & strange truths
Under Khizr Khoja's campaign, the inhabitants of Qocho and Turpan were forced to become Muslims, after which their descendants forgot their Buddhist monuments and credited them to the 'infidel Kalmuks'.
- Turpan Muslims forgot their own Buddhist past [3]
After conversion to Islam, the descendants of the Turpan Uyghurs did not remember their Buddhist ancestors. The Encyclopaedia of Islam records that they attributed the Buddhist and other monuments in their area to the 'infidel Kalmuks.' Some Buddhist influence survived in personal names, since Hami and Turpan still used Old Uyghur names while western Uyghurs used Arabic ones.
Follow Turpan - A king who appealed to Samanid power on behalf of Manichaeans [3]
When Al-Muqtadir of the Abbasid Caliphate persecuted Manichaeans in what was then Iraq, the ruler of Qocho wrote to Nasr II of the Samanid Empire threatening to retaliate against Muslims in his own realm. He noted that Muslims in Qocho were more numerous than Manichaeans under Islamic rule, and he succeeded in halting the persecutions in Khorasan. The episode was recorded by Ibn Al-Nadim, who called the Idiqut 'King of China.'
State ledger
- Lifespan
- 860–1138 CE
- Peak territory
- 653,223 km²
- Capital
- Beiting
- Seshat ID
- cn_qocho_k
Connected world
Qocho linked the Tarim oases to Sogdian and Chinese Silk Road trade, drew Tang Buddhist learning and Manichaean clergy, and passed under Western Liao, Mongol Yuan, and Chagatai overlordship.
Drafted by HY4 Flash (links-v2.0) from the cited sources.
-
In 856 the Tang court granted formal royal recognition to the Uyghur rulers at Karasahr, a documented act of diplomatic acknowledgement.
-
Pangtele led Uyghurs southward in 843 and seized Karasahr and Kucha from the Tibetan Empire, ending Tibetan control of those towns.
-
After Abbasid persecution of Manichaeans, Qocho's ruler wrote to Nasr II of the Samanid Empire, threatening reprisals against its Muslims unless the persecutions ceased.
-
Qocho's idiquts ruled independently until they submitted as a vassal state to the Qara Khitai, the Western Liao.
-
Qocho's Buddhist Uyghurs repeatedly clashed with the Muslim Turks to their west; the Kara-Khanid Compendium of the Turkic Dialects denigrated the Uyghurs.
Drafted by Claude Haiku 5.5 (polity-v1.5) from five cited sources · almanac by Claude Haiku 5.5 (almanac-v1.2) · deep lenses by Nemotron 3.5 Super VL (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 |
|---|---|---|---|---|---|
| Turpan | China | — | 60k (1473 CE) | Locate → | |
| Urumqi | China | — | 677k (1975 CE) | Locate → | |
| Duhuang | China | — | 32k (100 BCE) | Dossier → Locate → |
Languages across the footprint
| Language | Family | Macroarea | Horizon |
|---|---|---|---|
| Tokharian A | Indo-European | Eurasia | Glottolog 5.3 |
| Old Turkic | Turkic | Eurasia | Glottolog 5.3 |
| Tokharian B | Indo-European | Eurasia | Glottolog 5.3 |
XCulture & letters
Primary works, letters & books
No matching primary books indexed for this span yet.
XISources & provenance
- Cliopatria Historical Polity Borders v0.2.0 (Seshat Databank). CC-BY-4.0.
- Wikidata Historical Entities & Lineage Spine. CC0-1.0.
- Wikipedia — Qocho. 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.