Qara Khitai 西遼 (907–1218): The Khitan empires, Liao and Western Liao

Civilization Index · Chapter V

Qara Khitai 西遼

The Khitan empires: Liao 遼 and Western Liao · 907 – 1218

The Khitans were a people of the eastern Mongolian steppe whose chief Abaoji founded an empire in 907, later named Liao 遼. It ruled Manchuria, Mongolia and the Sixteen Prefectures of North China around Beijing, forced the Song to a treaty of equals at Chanyuan in 1005, and lasted two centuries, until the Jurchens destroyed it in 1115–1125. A prince of the house, Yelü Dashi, led the survivors three thousand kilometres west and founded a second empire in Central Asia, the Qara Khitai or Western Liao 西遼, which defeated the Seljuk sultan Sanjar at Qatwan in 1141 and ruled from Balasagun until the Mongols took it in 1218. From “Khitan” comes Cathay, the medieval name of China.

History by period

  • 907–947 Abaoji and the Sixteen Prefectures
  • 947–1031 The Chengtian empress and the peace of Chanyuan
  • 1031–1115 The long peace and the Buddhist emperors
  • 1115–1124 The fall of the Liao
  • 1124–1143 Yelü Dashi and Qatwan
  • 1143–1218 The later gurkhans

Abaoji and the Sixteen Prefectures (907–947)

The Khitans (Qidan 契丹) were herdsmen of the Shira Muren and Laoha rivers, on the eastern edge of the Mongolian steppe, eight tribes who chose a war-leader every three years and had lived for three centuries in the shadow of the Tang and the Uighurs. In 907, the year the Tang fell, Abaoji of the Yila tribe was made khagan, and when his term was up he did not step down. He put down three risings of his own brothers, and in 916 took a Chinese imperial title and a reign-name, named his eldest son heir against all Khitan custom, built a walled capital in the grasslands and a Confucian temple in it, and had a script devised for the Khitan language (920; a second, simpler one in 925). He settled the Chinese captives of his raids in towns of their own to farm, weave and smelt for him, under their own officials: the beginning of the “dual administration”. In 924 he rode west across Mongolia to the old Uighur capital on the Orkhon and south-west to the Gansu corridor; in 926, in a campaign of a few weeks, he destroyed the kingdom of Bohai, which had ruled Manchuria for two hundred years. He died that year on the way home. His widow, the empress Yingtian, cut off her own right hand to lay in his tomb in place of herself, and set aside the sinified heir for the second son, Deguang. The chance of his reign came from China’s division. In 936 the Shatuo Turk general Shi Jingtang bought Khitan help to make himself emperor at Kaifeng at the price of calling Deguang “father” and ceding the sixteen prefectures between the Great Wall passes and the plain: Yan (Beijing) and Yun (Datong). When Shi’s successor refused the title of subject, Deguang invaded, and on the first day of 947 entered Kaifeng. He proclaimed there the dynastic name “Great Liao”. He could not hold the Chinese plain; the Khitans went home that spring loaded with the palace’s maps, instruments and craftsmen, and he died on the road.

Territory. The steppe from the Khingan mountains to the Orkhon; Manchuria, taken from Bohai in 926; and from 938 the Sixteen Prefectures inside the line of the Great Wall, which gave the Liao the passes and a population of Chinese farmers and townsmen. North China to the Yellow River was occupied for four months in 947.

Army. Every Khitan man between fifteen and fifty was a soldier and brought three horses, with a forager and an orderly to each fighting man. Abaoji added the ordo, a household guard of picked horsemen settled around his person, which each emperor after him founded anew: by the end twelve ordos could put a hundred thousand riders in the field. The Khitans went on campaign in the ninth month, when the horses were fat, and came home before the spring thaw; they avoided walled cities and let Chinese and Bohai infantry and catapult-men, conscripted from the south, do the sieges.

Commanders and statesmen. Yelü Abaoji, Yelü Deguang, Yelü Bei (Prince of Dongdan), Yelü Helu, Xiao Dilu, Zhao Yanshou, Han Yanhui, Empress Yingtian (Shulü Ping), Han Zhigu, Yelü Tulübu (maker of the script), Kang Moji.

Battles. Youzhou, 917 (the first great raid; the siege fails); Wangdu, 922 (beaten by Li Cunxu); Huhan, 926 (Bohai surrenders); Taiyuan, 936 (the Later Tang army destroyed; Shi Jingtang enthroned); Yangcheng, 945 (routed by the Later Jin in a dust-storm); Kaifeng, 947 (the Later Jin surrenders).

The Chengtian empress and the peace of Chanyuan (947–1031)

Three emperors are murdered or die young in thirty-five years, and the tribal nobles nearly undo what Abaoji made. The empire is rescued by a woman. Xiao Chuo, the empress dowager Chengtian, rules for her son Shengzong from 982 to 1009 with a Chinese minister, Han Derang, who is given the imperial surname and, it was said, her bed; she commands armies in person, reviews ten thousand horsemen of her own ordo, and makes Khitan and Chinese equal before the law. The enemy now is a reunited China. The Song emperor Taizong, having destroyed the Khitans’ client state at Taiyuan in 979, marches straight on Yan to recover the Sixteen Prefectures and is routed at the Gaoliang river, escaping in a donkey cart with an arrow in his thigh. His second attempt in 986, on three roads, is broken at the Qigou pass and at Chenjiagu, where the old Song general Yang Ye, captured, starves himself to death. For twenty years the Khitans raid Hebei every autumn. In 1004 the dowager and Shengzong lead the whole army south to the Yellow River; the Song emperor Zhenzong is persuaded by his minister Kou Zhun to go to the front at Chanyuan; a Khitan commander is killed by a giant crossbow; and in January 1005 the two courts swear a treaty. The Song will pay 100,000 taels of silver and 200,000 bolts of silk a year; the frontier stands where it is; the emperors are brothers. The peace lasts one hundred and eighteen years. With the south quiet the Liao turns on its other neighbours. Goryeo is invaded three times (993, 1010, 1018); the capital Kaegyong is burnt, a Khitan army is cut to pieces at Kwiju in 1019, and Korea accepts the Liao calendar. Garrison towns are planted on the Orkhon (1004) to hold the Zubu. Shengzong reigns forty-nine years, the longest and best of the dynasty; the great wooden halls of Fengguo and Dule temples are of his time.

Territory. From the Sea of Japan to the Altai and from the Kerulen to the Baigou river, sixty miles south of Beijing: the five circuits of the capitals, some two hundred prefectures, perhaps four million people, two-thirds of them Chinese of the Sixteen Prefectures. Goryeo, Xi Xia, the Jurchens, the Zubu and the Uighurs of Qocho and Ganzhou sent tribute.

Army. The Song reports of these wars describe the Khitan order of battle: the army marched behind a screen of far-ranging scouts in three columns, the emperor in the centre; before a Song line it sent regiments of five to seven hundred horse to charge in turn and wheel away, hour after hour, raising dust, cutting off the supply carts, until the infantry was tired, thirsty and blind, and only then closed. It could not take a well-held city: Yingzhou in 1004 cost the dowager thirty thousand men for nothing. That, and the Song’s inability to catch horsemen, is why both courts signed.

Commanders and statesmen. Yelü Xiuge, Yelü Xiezhen, Xiao Talin, Xiao Paiya, Xiao Sunning, Han Derang (Yelü Longyun), Yelü Shengzong, Xiao Hengde, Empress Dowager Chengtian (Xiao Chuo), Emperor Jingzong, Shi Fang, Zhang Jian, Wang Jizhong (the Song go-between).

Battles. The Gaoliang river, 979 (Song Taizong routed before Yan); Qigou Pass, 986 (Cao Bin’s army destroyed); Chenjiagu, 986 (Yang Ye surrounded and captured); Junziguan, 986 (a Song army annihilated in the snow); Chanyuan, 1004–1005 (Xiao Talin killed; the treaty); Kaegyong, 1011 (the Goryeo capital burnt); Kwiju, 1019 (Xiao Paiya’s army destroyed by Gang Gam-chan).

The long peace and the Buddhist emperors (1031–1115)

For eighty years after Shengzong the Liao is the first power of East Asia and does little with it. Xingzong (1031–1055) takes advantage of the Song’s war with the Tanguts to demand, in 1042, the ten counties south of the passes, and is bought off with another 100,000 units of silver and silk a year; two years later he invades Xi Xia himself with a hundred thousand men and is beaten in the Ordos sands. Daozong (1055–1101) reigns forty-six years. He is a scholar of the Chinese classics and a poet, tells his court that the Khitans are now as civilised as the Chinese, and is above all a Buddhist: the monasteries of the Southern Capital feed tens of thousands of monks, the canon is printed, the 67-metre wooden pagoda at Yingzhou, still standing, is raised in 1056, and at Fangshan the carving of the scriptures on stone slabs, begun under the Sui, is carried on with state money. His government he leaves to others. The minister Yelü Yixin, who had saved him from his uncle’s coup in 1063, has the empress, a poet and musician, accused of adultery with a court musician and made to kill herself (1075), and then has the heir apparent murdered in prison (1077); it is four years before Daozong sees it. The Zubu chief Mogusi unites the tribes of Mongolia and holds the north-west against the empire from 1092 to 1100. The herds of the state, a million horses under Shengzong, are run down; the Bohai of the east are restless; the Jurchens of the Sungari, who must bring the court its hunting falcons through other tribes’ lands and endure its envoys, grow strong under the Wanyan chiefs Wugunai and Yingge. Daozong’s grandson Tianzuo comes to the throne in 1101. He likes hunting. At the First Fish Feast on the Huntong river in the spring of 1112, when the Jurchen chiefs are told to dance for him, one refuses: Aguda.

Territory. As under Shengzong: the five circuits, with the Western Capital at Datong from 1044. The Zubu of Mongolia were in revolt for most of the 1090s; Xi Xia, proclaimed an empire in 1038, paid nominal tribute to both Liao and Song.

Army. The army that had fought the Song had not seen a great war for three generations. The ordo cavalry were now landed gentry; the tribal levies were worn out by garrison duty two thousand li from home on the Orkhon; and the horse herds had been thinned by the Zubu war and by sale to the Song border markets. Against Mogusi the general Yelü Wotela won by doing what Abaoji had done, striking the camps in winter with picked men. Nobody did it against the Jurchens.

Commanders and statesmen. Yelü Renxian, Xiao Hui, Yelü Wotela, Yelü Yixin, Xiao Wuna, Yelü Chonyuan (the rebel uncle), Emperor Xingzong, Emperor Daozong, Empress Xiao Guanyin, Emperor Tianzuo of Liao, Liu Liufu, Yelü Yan, the monk Xingjun (compiler of the Longkan shoujian).

Battles. Hequ, 1044 (Xingzong beaten by Li Yuanhao); The Helan mountains, 1049 (a second invasion of Xi Xia; the Xia court submits); Taizi Mountain, 1063 (the coup of Yelü Chonyuan defeated); The Zubu war, 1092–1100 (Mogusi captured and executed); Ningjiangzhou, 1114 (Aguda’s first victory).

The fall of the Liao (1115–1124)

The Liao empire of the Khitans has ruled the steppe and North China’s frontier for two centuries. In 1115 Emperor Tianzuo marches against the Jurchen rebel Aguda and is routed at Hubudagang. In 1122 the Jin take the Supreme and Central Capitals; at Yanjing the Khitan nobles make Yelü Chun emperor, and Xiao Gan and Yelü Dashi beat two Song armies that try to take the city at the Baigou river, before the Jurchen break through the Juyong pass. Dashi is captured, escapes, and in 1124, quarrelling with Tianzuo, leads two hundred horsemen into the steppe. The Song, bound to the Liao by a century of sworn peace, made a secret alliance with the Jurchens by sea in 1120 to share the spoils; its armies were twice routed before Yanjing by the Khitan remnant under Xiao Gan and Yelü Dashi. Dashi, a member of the imperial clan and the only Khitan of his rank to hold the Chinese jinshi degree, was captured by the Jin in 1123, escaped, rejoined Tianzuo, and, when the emperor insisted on one more hopeless offensive, left him in the night with two hundred horsemen and rode north-west across the Gobi.

Territory. Liao ruled the Mongolian steppe, Manchuria and the Sixteen Prefectures south of the Great Wall; in nine years the Jin took it all.

Army. The Liao army was armoured Khitan cavalry with horse archers of the tribes; by 1115 it was large and badly led.

Commanders and statesmen. Yelü Dashi, Xiao Gan, Yelü Chun, Emperor Tianzuo of Liao.

Battles. Hubudagang, 1115 (Tianzuo routed by Aguda); Baigou river, 1122 (the Song beaten by Dashi); Yanjing, 1122 (a second Song army driven out); Juyong Pass, 1122 (the Jin break through).

Yelü Dashi and Qatwan (1124–1143)

At Kedun on the Orkhon Dashi gathers the Khitan garrisons and the tribes of seven prefectures and eighteen peoples. He moves west, receives the submission of the Uighurs, and about 1131–1132 makes himself gurkhan, “universal khan”, at Imil; the Karakhanid ruler of Balasagun calls him in against the Qarluqs, and Dashi takes the city. A campaign to restore the Liao in the east fails in 1134. In 1137 his army beats the Karakhanid Mahmud Khan near Khujand; in 1141 at Qatwan he destroys Sanjar’s army, takes Samarkand, and makes Khwarazm pay tribute. He dies in 1143. He took a Chinese temple-name (Dezong) and reign-title, and in Muslim sources is the gürkhan, “universal khan”; the people called his subjects Qara Khitai, the “Black” Khitans. His court went on using Chinese for its documents and coins, kept the Khitan dual administration, and followed Buddhism and, some of it, Nestorian Christianity; but it left the Muslim kings of Samarkand, Kashgar and Khwarazm on their thrones with a resident and a fixed tribute, one dinar a household, and did not touch their religion. Muslim writers, who had expected persecution, remembered the first gürkhan as a just infidel. An expedition of seventy thousand horse sent east in 1134 to recover the homeland lost its animals in the desert and turned back; “Heaven is not with us,” he said.

Territory. The Chu and Ili valleys under the gurkhan; tribute from Transoxiana, Fergana, Kashgar, the Uighurs and Khwarazm: the leading power of Central Asia.

Army. Dashi kept the Liao system: Khitan heavy cavalry and horse archers in units of ten, a hundred and a thousand, with foot archers and infantry from the settled vassals; his armies were small, disciplined and paid, and he forbade them to plunder.

Commanders and statesmen. Yelü Dashi, Erbüz, Xiao Tabuyan, Xiao Tabuyan.

Battles. Balasagun, c. 1134 (the city taken); Khujand, 1137 (Mahmud Khan defeated); Qatwan, 1141 (Sanjar destroyed).

The later gurkhans (1143–1218)

Dashi’s widow Xiao Tabuyan rules as regent for their son Yilie (r. 1150–1163); Yilie’s sister Pusuwan reigns until she is killed by her father-in-law in 1177 for adultery. The last gurkhan, Zhilugu, fights Khwarazm, which stops paying tribute; in 1210 his general Tayangu is captured by the Khwarazm-shah Muhammad near Talas. Kuchlug, a Naiman prince who had fled from Genghis Khan, marries Zhilugu’s daughter and takes the throne in 1211. When he persecutes the Muslims of Kashgar, the Mongol general Jebe is welcomed as a liberator in 1218 and Kuchlug is killed. Two women ruled the Western Liao in their own right for twenty-one of its ninety years: no other state of the Islamic world or of China could say as much. The empire was a light yoke while the gürkhan’s army was feared, and nothing held it once it was not. Küchlüg, prince of the Naiman, came to Balasagun in 1208 a refugee from Chinggis Khan, married the gürkhan’s daughter, and in 1211 seized his father-in-law on a hunt. A Nestorian turned Buddhist, he did what no gürkhan had done and persecuted Islam, closing the mosques of Khotan and crucifying its imam on the door of his school. When Chinggis’ general Jebe rode in with twenty thousand men in 1218 and proclaimed that every man might follow the faith of his fathers, the towns killed the soldiers quartered on them. Küchlüg was hunted into the Pamirs and beheaded. The lands of the Qara Khitai made the Mongols neighbours of Khwarazm; and Khitans, among them Yelü Chucai, descendant of Abaoji in the ninth generation, taught the Mongols how to tax a settled empire.

Territory. The same empire, losing Transoxiana to Khwarazm after 1210 and the Uighurs to Genghis Khan in 1209.

Army. The later gurkhans’ armies won against the Ghurids at Andkhud in 1204 and lost to Khwarazm in 1210; by then the Khitan core was small and the vassals unreliable.

Commanders and statesmen. Xiao Tabuyan, Yelü Yilie, Yelü Pusuwan, Yelü Zhilugu, Tayangu, Kuchlug.

Battles. Andkhud, 1204 (the Ghurids defeated); Ilamish plain, 1210 (Tayangu captured by Khwarazm); Kashgar, 1218 (Jebe ends the realm).

Sources

  • K. A. Wittfogel and Feng Chia-sheng 馮家昇, History of Chinese Society: Liao (907–1125) (Philadelphia, 1949)
  • D. Twitchett and K.-P. Tietze, “The Liao”, in The Cambridge History of China, vol. 6: Alien Regimes and Border States, 907–1368 (Cambridge, 1994)
  • N. Standen, Unbounded Loyalty: Frontier Crossings in Liao China (Honolulu, 2007)
  • Chen Shu 陳述, 契丹政治史稿 (Beijing, 1986)
  • D. Kane, The Kitan Language and Script (Leiden, 2009)
  • Liu Pujiang 劉浦江, 松漠之間:遼金契丹女真史研究 (Beijing, 2008)
  • Tan Qixiang 譚其驤 (ed.), 中國歷史地圖集 vol. 6 (Beijing, 1982)
  • Lu Junling 陆峻岭 and Lin Gan 林幹, 《中国历代各族纪年表》 (Chronological tables of the peoples of China; Hohhot, 1980), the Liao and Western Liao tables
  • D. C. Wright, From War to Diplomatic Parity in Eleventh-Century China: Sung’s Foreign Relations with Kitan Liao (Leiden, 2005)
  • Lau Nap-yin and Huang K’uan-chung, “Founding and consolidation of the Sung dynasty”, in The Cambridge History of China, vol. 5.1 (Cambridge, 2009)
  • P. Lorge, The Reunification of China: Peace through War under the Song Dynasty (Cambridge, 2015)
  • M. Rossabi (ed.), China among Equals: The Middle Kingdom and Its Neighbors, 10th–14th Centuries (Berkeley, 1983)
  • N. S. Steinhardt, Liao Architecture (Honolulu, 1997)
  • Liu Pujiang 劉浦江, 松漠之間 (Beijing, 2008)

Other civilizations of Chapter V

Kingdom of Jerusalem · Ayyubids · Crusader Kings · Seljuks · Jin 金 · Song 宋

Play Chapter V · See the Imperion Cards · All civilizations