韦皋
Historical photograph of 韦皋
Image creditsKcx36 · CC BY-SA 4.0Image source

Historical figure

Wei Gao (韦皋)

韦皋

Wei Gao (韦皋, 745–September 13, 805), courtesy name Chengwu, was a native of Wannian in Jingzhao. He was an eminent general, statesman, military strategist, and Prince of Nankang Commandery during the middle Tang Dynasty. Born into the prestigious Meicheng branch of the aristocratic Jingzhao Wei clan, he began his career through hereditary privilege as a pallbearer at the Jianling Mausoleum, transferring to serve as…

Era not stated

PROFILE

Wei Gao (韦皋, 745–September 13, 805), courtesy name Chengwu, was a native of Wannian in Jingzhao. He was an eminent general, statesman, military strategist, and Prince of Nankang Commandery during the middle Tang Dynasty. Born into the prestigious Meicheng branch of the aristocratic Jingzhao Wei clan, he began his career through hereditary privilege as a pallbearer at the Jianling Mausoleum, transferring to serve as Military Participant in Huazhou. Proving his exceptional administrative and military aptitude in regional staff offices, he advanced to Investigating Censor, Palace Censor, and Director of Garrison Logistical Affairs in Longzhou. In the fourth year of the Jianzhong era (783), the Jingyuan Mutiny erupted, and rebel leader Zhu Ci usurped the imperial title, attempting to co-opt Wei Gao with bogus titles. Wei boldly executed the rebel envoys, rallied loyalist forces in Longzhou, and secured key western approaches to Guanzhong, prompting Emperor Dezong to appoint him Military Commissioner of the Fengyi Army. In 784, he entered the capital as Grand General of the Left Golden Raven Guard. In 785, he was commissioned as Military Commissioner of Jiannan Xichuan and Mayor of Chengdu, directing the military and civil administration of Sichuan for twenty-one years. Confronting prolonged Tibetan expansion along the southwestern frontier, Wei implemented an astute diplomatic and military grand strategy: "allying with Nanzhao, pacifying the Eastern Barbarians, and isolating Tubo." In 788, he sent envoys deep into Nanzhao territory, persuasively demonstrating imperial good faith, culminating in Nanzhao King Yimouxun executing Tibetan envoys at the Diancang Mountain Shrine in 794 and pledging renewed allegiance to the Tang Dynasty. In consecutive campaigns, Wei recaptured key frontier commanderies including Xizhou, Weizhou, and Songzhou. In the seventeenth year of Zhenguan (801), Wei commanded a combined Tang-Nanzhao army in a three-pronged counteroffensive deep into Tibetan territory, defeating 160,000 Tibetan troops and seizing over a thousand defensive garrisons. In 802, his forces ambushed and captured Tibetan Chief Minister Lun Mangre, breaking Tibetan military dominance in the southwest and bringing decades of frontier peace. In addition to his martial achievements, Wei fostered agriculture, reformed salt and tea taxes, repaired the Dujiangyan irrigation system, and revitalized the Southern Silk Road trade. He advanced to Acting Grand Defender, Director of the Secretariat, and Prince of Nankang Commandery. In 805, he succumbed to sudden illness in Chengdu at the age of sixty-one, being posthumously honored as Grand Preceptor and bestowed the posthumous name Zhongwu.

Courtesy Name
Chengwu (城武)
Posthumous Name
Zhongwu (忠武)
Peerage
Prince of Nankang Commandery (南康郡王)
Native Place
Wannian, Jingzhao (present-day Xi'an, Shaanxi Province)
Date of Birth
745 (4th Year of the Tianbao Era, Tang Dynasty)
Date of Death
September 13, 805 (16th Day of the 8th Month, 1st Year of the Yongzhen Era, Tang Dynasty)
Age at Death
61
Highest Office
Acting Grand Defender, Director of the Secretariat, Military Commissioner of Jiannan Xichuan, Mayor of Chengdu, Grand Preceptor (posthumously awarded)
Historical Role
Preeminent mid-Tang military commander and statesman who governed the Sichuan region for twenty-one years

LIFE TIMELINE

Relationship graph

BIOGRAPHY

Chronology

  • 745 (4th Year of the Tianbao Era, Tang) | Noble Birth | Born into the illustrious Jingzhao Wei clan, studying Confucian classics and military statecraft from youth.
  • 763 (1st Year of the Guangde Era, Tang) | Official Service | Entered officialdom as a pallbearer at Jianling Mausoleum, later serving in provincial commissioner headquarters.
  • 783 (4th Year of the Jianzhong Era, Tang) | Resisting the Mutiny | Beheaded Zhu Ci's rebel envoys, defended Longzhou, and was appointed Military Commissioner of the Fengyi Army.
  • 784 (1st Year of the Xingyuan Era, Tang) | Imperial Guard Commander | Summoned to the capital as Grand General of the Left Golden Raven Guard following the restoration of Chang'an.
  • 785 (1st Year of the Zhenyuan Era, Tang) | Governing Xichuan | Appointed Military Commissioner of Jiannan Xichuan and Mayor of Chengdu, directing regional governance.
  • 788 (4th Year of the Zhenyuan Era, Tang) | Reaching Out to Nanzhao | Dispatched envoys to persuade Nanzhao King Yimouxun to renounce his alliance with the Tibetan Empire.
  • 794 (10th Year of the Zhenyuan Era, Tang) | The Diancang Covenant | Brokered the historic alliance at Diancang Mountain, where Nanzhao broke ties with Tibet and rejoined the Tang realm.
  • 797 (13th Year of the Zhenyuan Era, Tang) | Recapturing Xizhou | Defeated invading Tibetan forces and reclaimed the strategic frontier fortress of Xizhou.
  • 801 (17th Year of the Zhenyuan Era, Tang) | Grand Counteroffensive | Mobilized a three-pronged offensive, routing 160,000 Tibetan troops and capturing over a thousand enemy redoubts.
  • 802 (18th Year of the Zhenyuan Era, Tang) | Capturing Lun Mangre | Lured Tibetan shock cavalry into an ambush, captured Chief Minister Lun Mangre, and was enfeoffed as Prince of Nankang.
  • 805 (1st Year of the Yongzhen Era, Tang) | Petitioning for the Prince | Opposed Wang Shuwen's faction, petitioning Emperor Shunzong to appoint Crown Prince Li Chun as regent.
  • 805 (1st Year of the Yongzhen Era, Tang) | Death and Veneration | Passed away in Chengdu at sixty-one; posthumously honored as Grand Preceptor with the posthumous name Zhongwu.

Life and Career

Jingzhao Lineage and Early Official Career

Wei Gao was born into the prestigious Meicheng branch of the Jingzhao Wei clan, one of the foremost aristocratic lineages in medieval China. His ancestors for generations had served as ministers, imperial censors, and regional governors, while his father, Wei Fu, served as Bureau Director in the Ministry of Revenue. Endowed with natural intelligence, stately dignity, and an imposing physical stature, Wei immersed himself in Confucian ritual literature, strategic military doctrines, and geographic topography from an early age, resolving to restore order to the dynasty.

During the early Guangde era, he entered public service through ancestral privilege as a ceremonial pallbearer at Emperor Suzong's Jianling Mausoleum. Upon completion of his service, he transferred to Huazhou as Military Participant. The regional defense commissioner recognized his incisive judgment and inducted him into his personal staff. Over the following decade, Wei served in regional headquarters across Guanzhong and Hedong, advancing to Investigating Censor and Palace Censor. In the late Dali era, he was dispatched to Longzhou to oversee garrison logistics and frontier defenses, earning universal acclaim from local commanders for his administrative precision.

Resisting the Mutiny at Longzhou

In the autumn of the fourth year of Jianzhong (783), Emperor Dezong ordered garrison troops from Jingyuan to march eastward to relieve Xiangcheng. As the soldiers reached Chang'an, they mutinied, stormed the imperial palace, and forced Emperor Dezong to flee to Fengtian. The rebel soldiers acclaimed retired general Zhu Ci as emperor of the newly proclaimed Da Qin regime.

Occupying the capital, Zhu Ci recognized that Longzhou held the strategic gateway connecting Guanzhong with Longyou. He dispatched his confidant Niu Yunkuang with five hundred elite cavalrymen, carrying forged imperial decrees to Longzhou in an effort to assassinate loyalist magistrates and seize the citadel.

Upon Niu's arrival, Wei Gao perceived the deception immediately. Concealing his intentions, he opened the city gates and hosted a lavish banquet in honor of the rebel detachment. Mid-feast, hidden armed guards leaped out and executed Niu Yunkuang and his officers, disarming the rebel detachment. Wei then mounted the ramparts, rallied the garrison with an impassioned speech on dynastic loyalty, and swore an oath to defend the Tang throne.

Enraged by the setback, Zhu Ci dispatched generals Zhang Tingzhi and Song Xichao with tens of thousands of troops to besiege Longzhou. Wei conducted an active defense, setting ambushes in ravines and launching sudden sorties that repeatedly routed the besiegers, decapitating over a thousand rebel soldiers. Emperor Dezong, receiving news at Fengtian, was overjoyed, immediately commissioning Wei as Censor-in-Chief and Military Commissioner of the Fengyi Army, hailing him as the pillar of the western passes. Wei's defense thwarted the rebels' plan to link up with Tibet, securing the vital flank for Li Sheng and Hun Jian to recapture Chang'an. In 784, following the imperial restoration, Wei entered the capital as Grand General of the Left Golden Raven Guard.

Southwestern Strategy and Pacifying Xichuan

In the spring of the first year of Zhenyuan (785), Military Commissioner of Jiannan Xichuan Zhang Yanshang was recalled to serve as Chancellor. Frontier defenses in Sichuan were in acute peril; following the An Lushan Rebellion, the Tibetan Empire had steadily seized Longyou and Hexi, advancing toward the Sichuan basin and coercing the southern kingdom of Nanzhao into serving as their military vanguard, unleashing continuous incursions into western Sichuan.

Emperor Dezong selected the versatile Wei Gao to oversee the southwest. In the third month of 785, Wei was commissioned as Acting Minister of Works, Mayor of Chengdu, and Military Commissioner of Jiannan Xichuan.

Arriving in Chengdu, Wei surveyed the strategic layout of the southwest. He astutely concluded that Tibetan aggression relied heavily on Nanzhao serving as its military auxiliary; Nanzhao's original allegiance lay with the Tang, severed only by corrupt Tang frontier governors decades earlier. If Nanzhao could be induced to abandon Tibet and return to Tang suzerainty, Tibet's southwestern flank would be severed, fundamentally transforming the regional strategic balance.

Wei began by thoroughly reforming regional military units. He retired aged soldiers, recruited hardy youths, and organized specialized mobile strike forces. He recruited elite warriors from the Eastern Barbarian tribes in the Liangshan mountains, forming the renowned Eastern Barbarian volunteer regiments. Outfitted with iron armor, repeating crossbows, and mountain equipment, these indigenous troops operated effectively in steep ravines, blunting Tibetan cavalry raids.

The Diancang Alliance with Nanzhao

In 787, Wei initiated confidential overtures to Nanzhao. He learned that although King Yimouxun held the nominal Tibetan title of King of the Eastern Sun, Tibetan aristocrats imposed crushing taxes and forced Nanzhao troops to serve as shock casualties in front-line assaults, creating widespread resentment among Nanzhao elites.

Wei dispatched trusted regional envoys, including Cui Zuoshi and Zhao Deyan, across rugged mountain paths into the Nanzhao capital at Yangjumie (modern Dali, Yunnan). In personal letters, Wei articulated historical allegiances, promised military protection, and offered extensive trade incentives if Nanzhao returned to the imperial fold.

Moved by Wei's sincerity, Yimouxun hesitated only out of fear of Tibetan retribution. In 788, when Tibetan armies besieged Xizhou, Wei directed ambush columns to crush the invaders at Taideng, decapitating thousands of enemy troops and demonstrating Tang military superiority to Nanzhao observers.

Yimouxun resolved to switch allegiance. In the first month of 794, Wei dispatched commissioner Cui Zuoshi to the Diancang Mountain Shrine, where he conducted a blood-drinking covenant with King Yimouxun and the Nanzhao nobility. Yimouxun executed dozens of Tibetan envoys on the spot and declared complete rupture with Tibet.

Coordinating with Tang forces, Nanzhao armies assaulted the Tibetan fortress at the Shenchuan Iron Bridge, burning sixteen citadels, severing the bridge, and capturing tens of thousands of Tibetan prisoners. Emperor Dezong bestowed an official gold seal upon Yimouxun as King of Nanzhao. To cement mutual trust, Wei invited Nanzhao royal princes to Chengdu to attend imperial academies, fostering enduring cultural and political integration.

Defeating Tibetan Armies and Capturing Lun Mangre

Infuriated by Nanzhao's defection, the Tibetan Empire mobilized its veteran armies for annual counterattacks along the Sichuan and Nanzhao borders. Wei adopted an elastic defense, drawing enemy forces into rugged ravines before severing their logistical conduits.

In 797, Tibetan cavalry attacked Xizhou to sever communications between Sichuan and Nanzhao. Wei dispatched general Kang Pi with ambush detachments, crushing the invaders beneath the walls of Xizhou and reclaiming the territory.

In the autumn of 801, Tibetan forces besieged Yanling and Linzhou along the northern frontier. In response to a confidential imperial rescript, Wei launched a massive diversionary counteroffensive, dispatching 20,000 elite Tang troops alongside Nanzhao and tribal contingents across three routes. Tang forces traversed snowbound passes, penetrating a thousand li into Tibetan territory. At Yaxiluo, Tang troops deployed half-moon defensive formations, unleashing concentrated crossbow volleys followed by heavy infantry charges, routing 160,000 Tibetan troops, taking seven walled cities and 150 redoubts, and burning enemy storehouses.

In 802, the Tibetan monarch dispatched Chief Minister Lun Mangre with 100,000 heavy cavalrymen to retake Weizhou. Wei feigned retreat, luring the overconfident Tibetan vanguard into a narrow canyon. At the designated signal, concealed Tang catapults and crossbow units opened fire from surrounding heights, followed by sweeping cavalry encirclements. The Tibetan force disintegrated, and Wei's troops captured Lun Mangre alive, sending him in an iron cage to Chang'an. The catastrophic defeat permanently incapacitated Tibetan offensive capabilities in the southwest.

Civil Administration and Cultural Legacy

Throughout his twenty-one years in Sichuan, Wei paired military brilliance with enlightened civil governance. He abolished abusive levies, instituted agricultural reforms, and provided oxen and seed grain to displaced peasants.

Recognizing the vital importance of irrigation, he repeatedly mobilized engineering corps to dredge the Dujiangyan waterworks, repairing stone levees and expanding irrigation across the Chengdu Plain. He codified state supervision over salt and tea production, establishing fair-price border trading depots that generated substantial revenues, allowing Xichuan to maintain elite garrisons without imposing fiscal burdens on the central government.

Wei reopened the Southern Silk Road, securing trade arteries from Chengdu through Nanzhao to India and Burma. Foreign trade flourished, and Pyu musicians traveled via Sichuan to perform at the imperial court in Chang'an. Furthermore, Wei supported grand cultural endeavors, including financing the completion of the 71-meter Leshan Giant Buddha in 803 and composing the commemorative monument Jiazhou Lingyunsi Da Shixiangji.

The Yongzhen Transition and Final Days

In early 805, Emperor Dezong passed away, and Emperor Shunzong ascended the throne while severely incapacitated by illness. Imperial attendants and reformist scholars led by Wang Shuwen enacted the Yongzhen Reform, attempting to strip provincial commissioners and palace eunuchs of military authority.

Deeply concerned that administrative instability would endanger the realm, Wei Gao coordinated with neighboring military commissioners to petition the throne, urging the appointment of Crown Prince Li Chun as regent. Under widespread pressure, the prince assumed the throne as Emperor Xianzong.

Upon his accession, Emperor Xianzong appointed Wei as Acting Grand Defender. However, on September 13, 805, before the edict arrived in Chengdu, Wei passed away from sudden illness at the age of sixty-one. The Sichuan populace wept openly in the streets, and Emperor Xianzong suspended court audiences for five days, posthumously conferring the office of Grand Preceptor and granting the posthumous name Zhongwu.

Major Achievements

Strategic Governance and the Nanzhao Alliance

Wei Gao's most enduring historical contribution was his strategic realignment of the southwestern frontier. Confronting combined Tibetan-Nanzhao pressure, he executed the masterstroke of the Diancang covenant, severing Tibet's auxiliary forces and integrating Nanzhao into the Tang imperial system.

Crushing Tibetan Armies and Capturing Chief Minister Lun Mangre

His subsequent battlefield triumphs—culminating in the 801 counteroffensive and the 802 capture of Tibetan Chief Minister Lun Mangre—shattered Tibetan military dominance in the southwest, securing decades of regional peace.

Exemplary Governance of the Sichuan Basin

Governing Xichuan for twenty-one years, Wei exemplified enlightened regional administration. By repairing the Dujiangyan irrigation network, reforming salt and tea commerce, and revitalizing the Southern Silk Road, he transformed the Sichuan basin into a prosperous agricultural and trading hub. His administration achieved the rare feat of maintaining a powerful defense establishment while remaining fiscally self-sufficient and providing substantial annual surpluses to the central treasury.

Personal Relationships

  • Predecessor Chancellor: Zhang Yanshang (Grand Chancellor and former Military Commissioner of Xichuan)
  • Honored Sovereign: Emperor Dezong of Tang (Emperor who elevated Wei to commissioner and relied on him as his southwestern pillar)
  • Restored Sovereign: Emperor Xianzong of Tang (Emperor whom Wei petitioned to serve as regent, who granted him the title of Grand Defender)
  • Allied Monarch: King Yimouxun (King of Nanzhao who concluded the Diancang covenant with Wei)
  • Captured Commander: Lun Mangre (Tibetan Chief Minister captured by Wei's ambush forces in 802)
  • Literary Protégée: Xue Tao (Celebrated Tang poetess whom Wei appointed as an administrative scribe in his commissioner headquarters)

Historical Evaluation

  • The Old Book of Tang (Volume 140) records: "Wei Gao governed Xichuan for twenty-one years. He routed a hundred thousand Tibetan invaders, captured their Chief Minister Lun Mangre, and brought the lord of Nanzhao into annual tribute allegiance. No frontier merit in the southwest matched his stature! He comforted the populace with parental benevolence, while his steadfast loyalty earned the trust of the Son of Heaven. He was truly an indispensable pillar of the mid-Tang realm!"
  • The New Book of Tang (Volume 158) assesses: "During the reign of Dezong, frontier wars raged without pause. Wei Gao rose from Longzhou to establish the Fengyi Army, achieving peerless glory. Governing Shu, he pacified the southern tribes, severed Tibet's left arm, and projected imperial prestige across ten thousand li. He subdued barbarians through unwavering good faith, fully preserving the Sichuan basin. His posthumous name Zhongwu was richly deserved!"
  • Song Dynasty historian Sima Guang noted in the Zizhi Tongjian: "Wei Gao governed Sichuan for two decades, pacifying the frontier tribes, subduing Nanzhao, and inflicting severe defeats upon Tibet. The border regions knew lasting peace, and he was acclaimed as an exemplary commander."

Related Entries

  • Military Commissioner of Jiannan Xichuan
  • Jingyuan Mutiny
  • Nanzhao
  • Yimouxun
  • Lun Mangre
  • Emperor Dezong of Tang
  • Xue Tao

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Old Book of Tang, Volume 140, Liezhuan 90 (Biography of Wei Gao)
  • New Book of Tang, Volume 158, Liezhuan 83 (Biography of Wei Gao)