Tang Dynasty (唐朝) · HISTORICAL EVENT

Establishment of the Protectorate General to Pacify the West (安西都护府设立)

安西都护府设立

The Establishment of the Protectorate General to Pacify the West was an epochal institutional achievement of the early Tang Dynasty that anchored imperial governance across Central Asia. In 640, following the conquest of the defiant Kingdom of Gaochang by Grand General Hou Junji, Emperor Taizong annexed the territory as Xizhou and inaugurated the Protectorate General to Pacify the West at Jiaohe Citadel in the ninth month, appointing Qiao Shiwang as its…

640 CE–658 CEJiaohe Citadel, Kucha Citadel
安西都护府设立
Historical visual of key protagonist 李世民 (安西都护府设立)
Image creditsWikimedia Commons contributor · CC BY-SA 4.0Image source

OVERVIEW

The Establishment of the Protectorate General to Pacify the West was an epochal institutional achievement of the early Tang Dynasty that anchored imperial governance across Central Asia. In 640, following the conquest of the defiant Kingdom of Gaochang by Grand General Hou Junji, Emperor Taizong annexed the territory as Xizhou and inaugurated the Protectorate General to Pacify the West at Jiaohe Citadel in the ninth month, appointing Qiao Shiwang as its first Protector General. In 648, following the submission of Kucha by General Ashina She'er, the seat of the protectorate was transferred westward to Kucha Citadel, advancing deep into the heart of the Tarim Basin. In 658, in the wake of General Su Dingfang's decisive annihilation of the Western Turkic Khaganate, Emperor Gaozong elevated the institution to the Grand Protectorate General to Pacify the West, expanding its operational jurisdiction across Central Asian oasis realms as far west as the Aral Sea and eastern Persia. Functioning as the paramount military and civil authority in the West, the Protectorate established a multi-layered security grid of fortified checkpoints, postal stations, and agricultural military colonies (Tuntian), while enforcing Tang legal codes and classical Confucian education. The Protectorate neutralized nomadic and Tibetan territorial ambitions, secured the continental Silk Road for generations, and established an enduring cornerstone of Chinese sovereignty over the Western Regions.

EVENT TIMELINE

Conquest of Gaochang

Hou Junji conquers Gaochang, capturing Qu Zhisheng; Taizong creates Xizhou prefecture

Foundation at Jiaohe

The Protectorate General to Pacify the West is founded at Jiaohe Citadel under Qiao Shiwang

Guo Xiaoke's Reforms

Guo Xiaoke assumes command, fortifying ramparts, cultivating colonies, and training soldiers

Expedition Against Karasahr

Guo Xiaoke leads three thousand cavalry in a surprise dawn raid, capturing the rebel king of Karasahr

Pacification of Kucha

Ashina She'er conquers Kucha; the Protectorate headquarters transfers westward to Kucha

Formation of the Four Garrisons

Kucha, Khotan, Kashgar, and Karasahr are grouped into the Four Garrisons to secure the Tarim Basin

Annihilation of Western Turks

Su Dingfang captures Shaboluo Khan at the Suyab River, bringing Central Asian lands into the empire

Elevation to Grand Protectorate

Emperor Gaozong elevates Anxi to a Grand Protectorate, supervising sixteen tributary commanderies

Evacuation to Xizhou

Tibetan forces capture the Four Garrisons; Xue Rengui's defeat at Dafeichuan forces Anxi back to Xizhou

Reconquest and Return to Kucha

Wang Xiaojie crushes Tibetan forces, permanently returning the Grand Protectorate to Kucha with standing troops

Relationship graph

FULL ACCOUNT

Background

Silk Road Blockade and the Defiance of Gaochang

In the initial decades following the founding of the Tang Dynasty, the Eastern and Western Turkic Khaganates commanded immense cavalry forces that routinely raided northern Chinese borders. After Emperor Taizong annihilated the Eastern Turks in 630, imperial strategy pivoted toward securing the continental trade arteries traversing Central Asia. However, the Kingdom of Gaochang, ensconced within the fertile Turpan Basin under King Qu Wentai, turned traitor to its tributary oaths, aligning with the Western Turks. Gaochang levied punitive tariffs on silk caravans, arrested diplomatic envoys traveling to Chang'an, and raided the pro-Tang oasis of Yiwu, effectively severing the Northern Silk Road.

Emperor Taizong repeatedly dispatched envoys warning Qu Wentai against foreign alignment, but the king arrogant dismissed imperial warnings, boastfully claiming that the Tang army could never cross the waterless deserts of the Gobi. Gaochang's obstinacy directly threatened the universal authority of the Tang realm, compelling Emperor Taizong to resolve upon total military conquest to eliminate this dangerous frontier bottleneck.

Geopolitical Competition and the Demand for Institutional Innovation

Prior to the Tang, central Chinese dynasties governed the Western Regions through loose tributary alliances or isolated military garrisons, such as the Western Han Protectorate of the Western Regions. These loose arrangements consistently proved vulnerable: whenever central dynasties experienced domestic instability, distant oasis states quickly submitted to predatory steppe empires. The Western Turks maintained imperial delegates (Eltebers) throughout Tarim cities to extort burdensome agricultural and mineral tributes, subjecting local populations to severe extraction.

Emperor Taizong possessed extraordinary geopolitical vision, recognizing that enduring security required transcending rudimentary vassalage. Rather than relying on transient alliances, the empire needed an integrated institutional presence combining direct prefecture-county civil governance with a permanent protectorate command. By stationing regular imperial bureaucrats, appointing permanent garrisons, registering local households, and constructing logistics hubs, the Tang intended to dismantle nomadic steppe hegemony and incorporate the Western Regions into the administrative fabric of the Chinese empire.

Course of Events

Conquest of Gaochang and the Foundation at Jiaohe

In the twelfth month of 639, Emperor Taizong commissioned Minister of Personnel Hou Junji as General-in-Chief of the Jiaohe Marching Administration, leading veteran commanders Xue Wanjun and Qibi Heli with an expeditionary army of several tens of thousands. In the fifth month of 640, the Tang legions traversed the arid wastes of the desert, appearing suddenly before the walls of Gaochang. Paralyzed by terror upon learning that the imperial forces had crossed the sands, King Qu Wentai suffered a fatal seizure and died, leaving his son Qu Zhisheng to face the siege. Hou Junji deployed massive catapults, siege towers, and assault carts, bombarding the battlements with boulders; abandoned by their Western Turkic allies, the garrison surrendered.

While several court ministers urged the restoration of a puppet Gaochang ruler to avoid administrative expense, Emperor Taizong resolutely rejected their advice, opting for direct imperial governance. In the eighth month of 640, the Tang abolished the kingdom, creating the prefecture of Xizhou across five counties and installing military garrison battalions under the Fubing system.

In the ninth month, Emperor Taizong issued an imperial edict formally establishing the Protectorate General to Pacify the West at Jiaohe Citadel (west of modern Turpan), designating Imperial Son-in-law Qiao Shiwang as the inaugural Protector General. Initially garrisoned by several thousand imperial troops, the Protectorate assumed responsibility for pacifying regional tribes, guarding against Western Turkic raids, and establishing forward diplomatic and intelligence networks, inaugurating the paramount military-administrative command of the Tang in the Western Regions.

Strategic Shift to Kucha and the Four Garrisons

In 642, the valiant general Guo Xiaoke was appointed Protector General of Anxi. Guo energetically fortified regional defenses, cultivated agrarian colonies, and reinforced the garrison. In 644, when King Long Tuqizhi of Karasahr betrayed his submission to align with the Western Turks, Guo led three thousand elite cavalry on a forced march through the Silver Mountain gorges, surprising the rebel citadel at dawn and capturing the king alive, eliminating the Western Turkic flank along the northern road.

In 647, King Haripuspa of Kucha openly rebelled, withholding tribute and mobilizing troops. Emperor Taizong dispatched Turkic prince Ashina She'er as Commander of the Kunqiu Campaign, with Guo Xiaoke serving as deputy, leading over one hundred thousand allied cavalry. In 648, the Tang army bypassed desert obstacles, shattered the Kuchean field army at Sailü, and captured King Haripuspa. When Chief Minister Nali organized a nocturnal counter-attack in which Guo Xiaoke was killed by a stray arrow, Ashina She'er launched a counter-strike, hunting down Nali and pacifying Kucha.

Following this triumph, the imperial court carried out a vital geopolitical recalibration: because Xizhou lay too far east to manage the vast expanse of the southern Tian Shan, Emperor Taizong ordered the seat of the Protectorate General transferred westward to the capital of Kucha (present-day Pilang ancient city in Kuqa). Concurrently, the four major oasis city-states of Kucha, Khotan, Kashgar, and Karasahr were organized into the "Four Garrisons of Anxi." Advancing the headquarters over a thousand li westward into the Tarim Basin, the Protectorate established an unshakeable operational base directly astride continental trade routes.

Defeat of the Western Turks and Elevation to Grand Protectorate

Following Emperor Gaozong's accession, Shaboluo Khan (Ashina Helu) unified the Western Turkic tribes, launching open rebellion and raiding imperial frontiers. Emperor Gaozong commissioned Grand General Su Dingfang to lead a massive punitive expedition. In 657, Su Dingfang campaigned across the Altai mountains in blinding snowstorms, crushing one hundred thousand nomadic horsemen at the Battle of the Irtysh River and the Suyab River before capturing Ashina Helu alive. The Western Turkic Khaganate was extinguished, and its vast territories were annexed into the Tang realm.

In the fifth month of 658, having pacified the steppe, Emperor Gaozong issued an edict elevating the Anxi Protectorate to the Grand Protectorate General to Pacify the West, raising its bureaucratic status to Rank 3 and fixing its permanent seat at Kucha.

Across the former pastures of the Western Turks, the Tang created the Mengchi and Kunling Protectorates, while establishing sixteen tributary commanderies and eighty subordinate prefectures extending westward across Sogdiana to Zabol in eastern Persia. All these Central Asian territories were placed under the direct operational supervision of the Grand Protectorate at Kucha, transforming Anxi into the most expansive frontier administration in Tang history, stretching from the Altai Mountains to the Caspian Sea.

Administrative Architecture and Frontier Garrisons

The elevated Grand Protectorate developed a comprehensive administrative hierarchy: headed by a Grand Protector General (Rank 2, often held nominally by imperial princes) and directed on the ground by Vice Grand Protectors (Rank 3) and Deputy Protectors (Rank 4). A full bureaucratic staff of civilian and military adjudicators supervised finance, justice, logistics, and intelligence.

Militarily, Anxi commanded an interlocking five-tier frontier defense network comprising armies, garrison forts, defensive towns, and beacon towers. Strategically positioned along mountain defiles, fortified checkpoints such as Que-li Pass on the Kuqa River and Zhe-jue Pass at Yuqitur ancient city formed impenetrable barriers controlling access through the Tian Shan gorges.

To resolve the immense logistical challenge of feeding garrisons thousands of li from central China, the Protectorate instituted extensive military farming colonies (Tuntian). Historical records verify that Anxi commanded twenty agrarian colonies, with additional colonies in Kashgar and Karasahr, irrigating fertile oasis plots with mountain snowmelt. Frontier soldiers rotated under regular Fubing duties, maintaining thousands of warhorses and sustaining a self-sufficient defensive perimeter.

Continental Administration and Imperial Hegemony

Beyond military defense, the Protectorate General actively promoted Tang civilization throughout the Western Regions. The court promulgated imperial calendar systems, administrative ranks, standardized weights and measures, and Confucian legal codes. Government academies were established in regional centers to instruct local elites in the Analects and the Classic of Filial Piety, popularizing Chinese written administrative culture across Central Asian societies.

Under the protection of the Protectorate, the Northern, Central, and Southern Silk Roads entered an unprecedented golden age. Sogdian merchant caravans, Persian emissaries, Indian Buddhist monks, and Chinese traders traveled unmolested across continental highways. Silk, porcelain, and tea flowed westward, while jade, spices, horses, and music enriched the cosmopolitan culture of Chang'an. The establishment of the Protectorate cemented China's historic governance over the Western Regions, permanently binding the region into the unified Chinese civilization.

Key Figures

Tang Imperial Architects and Commanders

  • Li Shimin: Second emperor of Tang, whose decisive vision led to the conquest of Gaochang, the creation of the Protectorate, and the relocation to Kucha.
  • Li Zhi: Third emperor of Tang, who authorized Su Dingfang's conquest of the Western Turks and elevated Anxi to a Grand Protectorate.
  • Hou Junji: Minister of Personnel and Grand General of the Jiaohe Campaign, who conquered Gaochang and laid the territorial foundation for the Protectorate.
  • Qiao Shiwang: Imperial son-in-law and first Protector General of Anxi, who established initial administrative and defense structures at Jiaohe.
  • Guo Xiaoke: Second Protector General of Anxi, who consolidated frontier defense, captured Karasahr, and died heroically in combat during the pacification of Kucha.
  • Ashina She'er: Turkic prince and renowned Tang general, Commander of the Kunqiu Campaign, who subjugated Kucha and orchestrated the transfer of the Protectorate to Kucha.
  • Su Dingfang: Grand General of the Left Militant Guard, whose brilliant campaign extinguished the Western Turks, enabling the elevation of Anxi to a Grand Protectorate.

Adversary Leaders

  • Qu Wentai: King of Gaochang, who allied with the Western Turks to obstruct the Silk Road, dying of panic as Tang armies crossed the desert.
  • Haripuspa: King of Kucha, whose rebellion in 647 led to his capture by Ashina She'er.
  • Ashina Helu: Shaboluo Khan of the Western Turks, whose defeat and capture by Su Dingfang in 657 terminated his khaganate.

Consequences and Historical Impact

Immediate Consequences

The establishment and elevation of the Protectorate General to Pacify the West dismantled over a century of Western Turkic dominance in Central Asia. Within eighteen years, between 640 and 658, the Tang advanced from the initial foundation at Jiaohe to an expansive Grand Protectorate seated at Kucha, governing sixteen tributary commanderies and eighty prefectures across Central Asia. Permanent garrisons supported by self-sufficient military colonies established the supreme operational headquarters for the Western Regions.

Historical Impact

The establishment of the Protectorate left an indelible mark on Chinese frontier history and international relations:

First, it established the premier administrative authority in Central Asia for over a century and a half. The Protectorate served as the highest-ranking, most expansive, and most institutionally sophisticated frontier command in early imperial Chinese history, converting nominal tributary vassalage into regular bureaucratic governance.

Second, it forged a lasting paradigm for frontier defense and economic integration. The synthesis of standing frontier garrisons, extensive agricultural colonies, fortified mountain checkpoints, and hybrid bureaucratic-tributary structures resolved the logistical challenge of projecting power across thousands of li of desert terrain, offering a vital administrative blueprint for succeeding dynasties.

Third, it catalyzed the golden age of continental trade along the Silk Road. By clearing caravan routes of nomadic raiders and predatory extortion, the Protectorate guaranteed safe passage for thousands of international merchants, scholars, and pilgrims, facilitating unprecedented cultural, technological, and commercial exchange between China, India, Persia, and the Mediterranean world.

Historical Assessment

  • Old Book of Tang (Jiu Tang Shu): "In the 14th year of Zhenguan, Gaochang was pacified, establishing Xizhou and the Anxi Protectorate at Jiaohe. In the 22nd year, it moved to Kucha. In the 2nd year of Xianqing, Helu was defeated, creating Mengchi and Kunling, with the Grand Protectorate seated at Kucha. From the Pamirs to Persia, all submitted to imperial authority."
  • New Book of Tang (Xin Tang Shu): "The Grand Protectorate commanded one Grand Protector (Rank 2) and two Vice Grand Protectors (Rank 3), pacifying barbarian realms and pacifying frontier frontiers. Wherever imperial decrees reached, barbarians bowed in submission."
  • Cen Shen, Tang Dynasty frontier poet: "Do you not hear of the bamboo flutes atop stony ridges, looking west upon sands vast as the ocean? The Anxi Protector marches beyond the cloudy steppes, his iron cavalry covering ten thousand leagues."

Related Entries

  • [[Tang Dynasty]]
  • [[Establishment of the Four Garrisons of Anxi]]
  • [[Li Shimin]]
  • [[Li Zhi]]
  • [[Hou Junji]]
  • [[Guo Xiaoke]]
  • [[Su Dingfang]]
  • [[Western Turkic Khaganate]]

Bibliography

  • Old Book of Tang, Volume 40, "Treatise 20: Geography 3, Grand Anxi Protectorate"
  • New Book of Tang, Volume 40, "Treatise 30: Geography 4, Grand Anxi Protectorate"
  • Six Codes of the Tang Dynasty, Volume 30, "Prefectures and Protectorates"
  • Great Tang Records on the Western Regions, Volumes 1–12