Lably
Skip to content

Protectorate General to Pacify the West

Tang China protectorate (640 – c. 790)

  • 19 min read
  • 5 chapters

Related on Lably

Through Kashmir and Central Asia

The Four Garrisons of Anxi in Kucha (Qiuci), Khotan (Yutian), Kashgar (Shule), and Karashahr (Yanqi) were installed between 648 and 658 as garrisons under the western protectorate. In 659, Sogdia, Ferghana, Tashkent, Bukhara, Samarkand, Balkh, Herat, Kashmir, the Pamirs, Tokharistan, and Kabul all submitted to the protectorate under Emperor Gaozong of Tang.

After the An Lushan Rebellion (755–763) was suppressed, the office of Protector General was given to Guo Xin, who defended the area and the four garrisons even after communication had been cut off from Chang'an by the Tibetan Empire. The last five years of the protectorate are regarded as an uncertain period in its history, but most sources agree that the last vestiges of the protectorate and its garrisons were defeated by Tibetan forces by 790, ending nearly 150 years of Tang influence in Central Asia.

History

7th century

The Western Regions during the Tang era were known as Qixi (磧西). Qi refers to the Gobi Desert while Xi refers to the west. In 632 the oasis kingdoms of Khotan (Yutian) and Shule (Kashgar) submitted to the Tang dynasty as vassals. In 635 Yarkand (Shache) submitted to the Tang dynasty.

On 19 September 640 Hou Junji of Tang conquered Gaochang and set up Xi Prefecture (西州) in its place. Xi Prefecture became the seat of the Anxi Protectorate on 11 October. Qiao Shiwang became the first protector general of the Anxi and served from 640 to 642. Guo Xiaoke received the next post and served from 640 to 648. By 644 Karasahr was also conquered, and was known to the Chinese as Yanqi. Aksu (Gumo) was garrisoned by Tang troops.

Kucha, known to the Chinese as Qiuci, allied with the rebellious Yanqi and threatened the Tang's expansion. In 648, the Tang conquered Yanqi and Qiuci. Qiuci became the new seat of Anxi under the governance of Chai Zhewei from 649 to 651. By 650 the entire Western Region had submitted to Tang authority. In 651 the seat was moved back to Xi Prefecture where it remained under the governance of Qu Zhizhan from 651 to 658. In 656 the Tibetan Empire attacked Lesser Bolü in Gilgit southwest of the protectorate.

In 658 the seat was moved back to Qiuci after Su Dingfang defeated the Western Turkic Khaganate. Its title was changed to "Grand Protectorate" and granted governorship of former Western Turkic territories, which were further separated into the Mengchi and Kunling protectorates. In 660 the Tibetan Empire and their Turkic allies attacked Shule. The Tibetan Empire also attacked Wakhan to the protectorate's southwest. When the Tang general boasted of the size of his army, Gar Tongtsen Yulsung's son responded in the following manner:

There is no disputing the matter of numbers. But many small birds are the food of a single hawk, and many small fish are the food of a single otter. A pine tree has been growing for a hundred years, but a single axe is its enemy. Although a river runs ceaselessly, it can be crossed in a moment by a boat six feet long. Although barley and rice grow over a whole plain, it is all the grist of a single mill. Although the sky is filled with stars, in the light of a single sun they are nothing.

In 663 the Tibetan Empire conquered Tuyuhun southeast of the protectorate. They also attacked Yutian but were repelled. In 665 the Tibetan Empire and Turkic allies attacked Yutian. The conflict between the Tang and Tibetans was the primary context under which the story of a Khotanese princess striving to rescue Khotan from destruction was formulated. One passage of the story in prayer form reads:

When the red-faced ones and the Chinese battle each other, may Khotan not be destroyed. When monks come from other countries to Khotan, may they not be treated dishonourably. May those who flee here from other countries find a place to stay here and help to rebuild the great stupas and monastic gardens that have been burned by the red-faced ones.

In 670 the Tibetan Empire routed a Tang army at the Battle of Dafei River and attacked Gumo as well as captured Qiuci. The protectorate's seat was moved to Suyab, known as Suiye to the Chinese, in modern Kyrgyzstan. In 673 the Tang consolidated control over the Wuduolu Turks living in the area that came to be known as Dzungaria. The Tang attacked collaborators of the Tibetan Empire in Shule and Gongyue (Kongul, a Turkic tribe). The king of Yutian expeled the Tibetan forces in 674 and the seat of the protectorate was moved back to Qiuici after its king pledged loyalty to the Tang. In 677 Ashina Duzhi, previously a Tang general tasked with controlling the Wuduolu Turks, rebelled and declared himself Onoq Khagan, ruler of all Turks. He captured Qiuci with the help of the Tibetans. A Tang army of 180,000 won an initial victory against the Tibetans at Koko nor but was subsequently defeated. In 679 Tang envoys traveled to Tibet for negotiations while Tang forces mounted a surprise attack to recapture the Four Garrisons. At the same time, the Tang general, Pei Xingjian, was accompanying Narsieh on an expedition to reclaim Persia before abandoning him in the Western Regions to fight the Turks. Pei defeated Ashina Duzhi in an ambush attack and re-established control over the Western Regions. A stele was set up in Suiye commemorating the victory: "They had brought supplies for ten days, but they captured their opponent, Duzhi, right away, and then almost instantaneously captured Li Zhefu as well. Both Chinese and foreign people celebrated the victory together, setting up a stele in Suyab."

According to Christopher I. Beckwith, between 670-692, the Tang did not recapture the Western Regions and controlled only Suiye (after 692) and Xi Prefecture. Beckwith argues that the king of Yutian that submitted to the Tang in 675 was actually a refugee fleeing from the Tibetans and there is no evidence of Tang military action in this region at this time. The king died at the Tang court and his son was still there in 691. However, Kucha remained outside of Tibetan control and the Tibetans attacked Kucha in 687.

In 682, the Turkic leaders Ashina Chebao and the Three Tribes of Yanmian rebelled. Ashina Chebao was defeated by Wang Fangyi, a subordinate of Pei Xingjian, at Gongyue near Ting Prefecture while the Yanmian tribes were ambushed at Rehai (Issyk-Kul).

In 686 Tang troops withdrew from the Four Garrisons after elements within the court argued for the decrease of military expenditures. In 687 the Tibetan Empire established control over the Western Regions. After suppressing rebellious Tang princes against her rule, Empress Wu Zetian decided to reassert control over the Western Regions in 689. She commanded the prefect of Lanzhou to recapture Shule (Kashgar). However the general was reluctant to commit to the expedition and took another one and a half years to attack the Tibetans. In 690 the Tibetan Empire defeated the Tang army at Issyk-Kul. Another failed attempt at regaining the Western Regions was made in 691.

In 692, the command of a Tang army was given to Wang Xiaojie, who was well acquainted with Tibet after living there for some time. Wang retook the Western Regions from the Tibetan Empire and re-established the Anxi Protectorate at Qiuci, where it would remain until the protectorate's demise around 790. According to the Old Book of Tang, Shule had been destroyed by the Tibetans. However by 698, envoys from the king of Shule offered gifts to the Tang. The Tang later sent someone to bestow investiture on the king of Shule in 728. The importance of the Western Regions was well understood by the Tang court at this point. Its strategic significance is summarized by Cui Rong, an Imperial Diarist of the court,

If we cannot defend these garrisons, barbarians will surely come to destabilize the Western Regions. And various tribes south of the Nanshan Mountain [i.e., the Qilian and the Kunlun Mountains] would feel threatened. If they link up with one another, they would pose a threat to regions west of the Yellow River [i.e., present-day Gansu and Qinghai provinces]. Moreover, if they get in touch with the Turks in the north, our soldiers will be unable to crush them by crossing the Moheyan Desert [the desert northwest of Dunhuang] that extends over 2,000 li, where neither water nor grass can be found. The tribes [loyal to China] in Yizhou, Xiyzhou, Beiting [Beshbalik], and Anxi protectorates will all be eliminated.

— Cui Rong

In 694 the Tibetan Empire attacked the Stone City (Charklik in Ruoqiang County). Wang Xiaojie defeated 30,000 troops led by Gar Tsenyen Gungton and Ashina Tuizi. Han Sizhong, the Defender of Suiye, defeated 10,000 troops led by the Tibetan general Nishousijin/Nishumosicheng.

In 696, the Umayyad Caliphate offered a lion as tribute at Suiye, but it was refused because it was too expensive to transport the lion to Chang'an.

8th century

In 701, the Chinese poet Li Bai was born in Suiye (Suyab in modern Kyrgyzstan). His family was experiencing legal troubles, so they changed their names and escaped to Central Asia before returning to Guanghan (in modern Sichuan northeast of Chengdu) in 705.

In 702 Wu Zetian set up the Beiting Protectorate in Ting Prefecture (Jimsar County) and granted it governorship over Yi Prefecture (Hami) and Xi Prefecture. In 708 the Turgesh attacked Qiuci. In 710 the Tibetan Empire conquered Lesser Bolü.

In 715 the Tibetan Empire attacked Fergana, a Tang vassal. Arab sources claim Qutayba ibn Muslim briefly took Kashgar in 715 from China and withdrew after an agreement but some historians dismiss this claim. H. A. R. Gibb argues that Qutayba never reached Kashgar and his movements were restricted to the Ferghana valley and that a raid in 717 by Turkish soldiers was conflated with Qutayba's movements. Christopher I. Beckwith argues that there is no reason to reject the historicity of the raid on Kashgar. He references Ibn A'tham al-Kufi's account of Qutayba sending 7,000 troops under Kathir's command to raid Kashgar, where they inflicted casualties and took 100 captives. B. A. Litvinsky, A. H. Jalilov, and A. I. Kolesnikov describe the raid as having occurred. According to Christopher Baumer citing al-Tabari, Qutayba extracted a symbolic tribute from Kashgar, which he threatened with war. The king of Kashgar presented him with a golden box filled with earth and Qutayba returned to Merv.

The Arab Umayyad Caliphate in 715 AD deposed Ikhshid, the king the Fergana Valley, and installed a new king Alutar on the throne. The deposed king fled to Kucha (seat of Anxi Protectorate) and sought Chinese intervention. The Chinese sent 10,000 troops under Zhang Xiaosong to Ferghana. He defeated Alutar and the Arab occupation force at Namangan and reinstalled Ikhshid on the throne.

In 717 the Tibetan Empire attacked Gumo and the Stone City.

General Tang Jiahui led the Chinese to defeat the following Arab-Tibetan attack in the Battle of Aksu (717). The attack on Aksu was joined by Turgesh Khan Suluk. Both Uch Turfan and Aksu were attacked by the Turgesh, Arab, and Tibetan force on 15 August 717. Qarluqs serving under Chinese command, under Ashina Xian, a Western Turkic Qaghan serving under the Chinese Assistant Grand Protector General Tang Jiahui defeated the attack. Al-Yashkuri, the Arab commander and his army fled to Tashkent after they were defeated.

In 719 the Turgesh captured Suiye. In 720 the Tibetan Empire seized the Stone City. In the same year Tang bestowed titles upon the kings of Khuttal, Chitral, and Oddiyana In 722 Tang restored the king of Lesser Bolü to his throne. In 725 the king of Khotan (Yutian) rebelled but was immediately replaced with a Tang puppet by protectorate forces.

In 726 the Turgesh attempted to engage in horse trade at Qiuci without prior authorization. The Turgesh Khagan Suluk used his marital relation with Princess Jiaohe to issue a decree ordering the Protector-General to engage in trade. However Princess Jiaohe was actually the daughter of Ashina Huaidao, and the Protector-General retorted: "How can an Ashina woman proclaim a decree to me, a military commissioner?!" In response Suluk attacked Qiuci.

In 727 and 728 the Tibetan Empire attacked Qiuci. In 737 the Tibetan Empire conquered Lesser Bolü. In 741 the Tibetan Empire sacked the Stone City. In 745 the Tang general Huangfu Weiming attacked the Stone City but suffered a major defeat. According to Huangfu, the Stone City was one of the most heavily defended bastions of the Tibetan Empire,

Shih-pao is strongly defended. The whole Tibetan nation is guarding it. Now if we array our troops below it, we cannot capture it without several tens of thousands of [our] men being killed. I am afraid that what would be gained is not comparable to what would be lost.

— Huangfu Weiming

In 747 the Tang general Gao Xianzhi captured Lesser Bolü and its king. A garrison was established to station a thousand fresh recruit and he renamed the country Guiren (Returning to Benevolence). In 748 the Tang recaptured Suiye and destroyed it. In 749 Tang recovered the Stone City. In 750 the Tang intervened in a dispute between their vassal Fergana and the neighboring kingdom of Chach, located in modern Tashkent. The kingdom of Chach was sacked and their king was taken back to Chang'an, where he was executed. In the same year Tang also defeated Qieshi in Chitral and the Turgesh.

In 751 Tang forces suffered a major defeat at the Battle of Talas against Abbasid and Karluk forces. Although the Battle of Talas saw the limit of Tang expansion to the west, the importance of the defeat at the Battle of Talas has sometimes been exaggerated. Although the Tang army was defeated, the Arabs did not extend their influence into Xinjiang, and the Karluks remained amiable to the Tang. Some Karluks converted to Islam, but the vast majority did not until the mid 10th century under Sultan Satuq Bughra Khan of the Kara-Khanid Khanate. The long-term strategic importance of Talas was overshadowed later on by the An Lushan Rebellion, which devastated the Tang homeland. It is now understood as the primary cause for the Tang retreat from Central Asia.

My relative Huan followed Go Seonji [Tang general of Goguryeo (Korean) descent; Gao Xianzhi...], the military commissioner of Zhenxi (modern Xinjiang), to go on a western expedition. In the tenth year of Tianbao (751) he reached the Western Sea. At the beginning of the Baoying reign (761) he boarded a merchant ship and returned [to China] through Guangzhou, and wrote his Travel Record.

— Du You (735–812), a relative of Du Huan

In 753 Tang forces defeated Baltistan (Greater Bolü).

In 754 Tang forces defeated Tibetan forces at Boxian.

In 755 the An Lushan Rebellion occurred and the Tang dynasty withdrew 200,000 soldiers from the Western Regions to protect the capital. In 763 the Tibetan Empire conquered Yanqi. In the same year the Tang capital was briefly taken by the Tibetans before they were forced to retreat.

In 764 the Tibetan Empire invaded the Hexi Corridor and conquered Liang Prefecture, cutting off the Anxi and Beiting protectorates from the Tang dynasty. However Anxi and Beiting were left relatively unmolested under the leadership of Guo Xin and Li Yuanzhong.

In 780 Guo Xin and Li Yuanzhong were officially made protectorate generals after sending secret messages to Emperor Dezong of Tang.

In 787 the Tibetan Empire conquered Qiuci. In 789 the monk Wukong passed through Shule, Yutian, Gumo, Qiuci, Yanqi, and Ting Prefecture and found that they all had Chinese commanders and were free from Tibetan or Uyghur control. Shule was garrisoned by Lu Yang, Yutian by Zheng Ju, Gumo (Weirong/Bohan/Buhu and Jusede/Tumxuk) by Su Cen and Jia Quan, Qiuci by Guo Xin, Yanqi by Yang Riyou, and Ting Prefecture by Yang Xigu. This contradicts the previous conquests of Yanqi and Qiuci by the Tibetan Empire in 763 and 787, assertions made by Yuri Bregel in his An Historical Atlas of Central Asia.

In 792 the Tibetan Empire conquered Yutian. It is unclear what happened to Shule (Kashgar), Shache (Yarkand), or Gumo (Aksu). According to O. Pritsak, Kashgar came under Karluk domination around this time, but this is disputed by Christopher I. Beckwith.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Notable people