Tang Dynasty (唐朝) · HISTORICAL EVENT

Recapture of Luoyang and Suppression of the An-Shi Rebellion (洛阳收复与安史平定)

洛阳收复与安史平定

The Recapture of Luoyang and Suppression of the An-Shi Rebellion (洛阳收复与安史平定) was the decisive campaign that terminated the destructive An-Shi Rebellion between late 762 and early 763 during the reign of Emperor Daizong of Tang. Since An Lushan's rebellion in 755, the Tang Empire had suffered devastation, with both Chang'an and Luoyang falling repeatedly into rebel hands. After Shi Chaoyi murdered his father Shi Siming to usurp the Yan rebel throne, the…

762 CE–763 CELuoyang (Eastern Capital), Shanzhou, Hengshui, Xiangzhou, Fanyang, Mozhou
洛阳收复与安史平定
Historical visual of key protagonist 李适 (洛阳收复与安史平定)
Image creditsWikimedia Commons contributor · CC BY-SA 3.0Image source

OVERVIEW

The Recapture of Luoyang and Suppression of the An-Shi Rebellion (洛阳收复与安史平定) was the decisive campaign that terminated the destructive An-Shi Rebellion between late 762 and early 763 during the reign of Emperor Daizong of Tang. Since An Lushan's rebellion in 755, the Tang Empire had suffered devastation, with both Chang'an and Luoyang falling repeatedly into rebel hands. After Shi Chaoyi murdered his father Shi Siming to usurp the Yan rebel throne, the insurgent command suffered severe internal factional discord, providing the Tang court with a critical strategic opening. Upon ascending the throne in April 762, Emperor Daizong resolved to eradicate the rebellion. He appointed his heir, the Prince of Yong (Li Gua), as supreme commander, with experienced generals Pugu Huai'en and Guo Ziyi directing field forces, while securing allied cavalry divisions from Mouyu Khagan of the Uyghur Khaganate. In October 762, Tang forces and Uyghur cavalry engaged Shi Chaoyi's main rebel army at Hengshui near Shanzhou, inflicting severe casualties and liberating the eastern capital of Luoyang. Shi Chaoyi fled north into Hebei, pursued relentlessly by Pugu Huai'en through Xiangzhou and Weizhou before being encircled at Mozhou. In January 763, realizing his cause was lost, Shi Chaoyi hanged himself in Guangyang Forest. His senior commanders, including Tian Chengsi and Li Huaixian, surrendered their territories. The seven-year catastrophe officially ended, saving the imperial house from collapse, though regional concessions granted to surrendering generals laid the groundwork for persistent warlord autonomy throughout the late Tang.

EVENT TIMELINE

Accession of Emperor Daizong

Emperor Daizong ascends the throne, appoints Prince of Yong as commander, and secures Uyghur military aid for the final offensive

Assembly at Shanzhou

Pugu Huai'en joins forces with Mouyu Khagan at Shanzhou as Shi Chaoyi deploys his main army at Hengshui

Decisive Victory at Hengshui

Tang and Uyghur cavalry shatter rebel lines, killing sixty thousand enemy troops and opening the path to the eastern capital

Recapture of Luoyang

Imperial armies enter Luoyang as Shi Chaoyi escapes across the Yellow River; the city endures destructive plundering

Siege of Mozhou

Pugu Huai'en surrounds Mozhou, forcing Shi Chaoyi to attempt a desperate nocturnal breakout toward Fanyang

Death of the Rebel Emperor

Turned away at Fanyang, Shi Chaoyi commits suicide in Guangyang Forest; remaining rebel commanders submit, ending the rebellion

Relationship graph

FULL ACCOUNT

Historical Background

Rebel Internal Patricide and the Collapse of Centralized Yan Command

During the latter stages of the An-Shi Rebellion, the rebel leadership experienced violent internal struggles for power. In 757, An Lushan was assassinated by his son An Qingxu. In 759, rebel general Shi Siming exploited the siege of Xiangzhou to murder An Qingxu, declaring himself emperor of the Great Yan dynasty and temporarily recapturing Luoyang, which plunged Henan back into warfare.

However, Shi Siming was suspicious, brutal, and prone to executing his own field commanders, causing widespread dread among his subordinates. In March 761, his eldest son, Shi Chaoyi, fearing execution due to paternal censure, conspired with officers Luo Yue and Cai Wenjing to assassinate Shi Siming at the Liuchao courier station. Shi Chaoyi subsequently usurped the imperial title in Luoyang. Rather than consolidating the insurgency, this act of patricide shattered cohesion among rebel commands; senior commanders such as Tian Chengsi and Zhang Zhongzhi hoarded regional forces in their garrison towns, refusing central orders from Luoyang and leaving the rebel coalition vulnerable.

Emperor Daizong's Accession and the Alliance with the Uyghurs

Within the Tang court, both Emperor Xuanzong and Emperor Suzong passed away in April 762, elevating Crown Prince Li Yu to the throne as Emperor Daizong. Confronted by prolonged fiscal ruin and rural depopulation across the Central Plains, the new emperor committed state resources toward a final military push to clear the eastern capital.

At this critical juncture, Mouyu Khagan of the Uyghur Khaganate mobilized a force near the northern border, contemplating an invasion of the mourning Tang empire. Emperor Daizong deployed diplomatic initiatives, dispatching palace envoy Liu Qingtan and general Pugu Huai'en—whose daughters were married into the Uyghur royal house—to negotiate with the khagan at Taiyuan. Appealing to traditional alliances and promising generous material rewards, Pugu Huai'en persuaded the Uyghurs to join the Tang campaign against Shi Chaoyi. Emperor Daizong appointed his son, the Prince of Yong, as supreme commander, with Pugu Huai'en leading vanguard operations and Guo Ziyi securing rear logistical bases, launching the final offensive.

Course of Events

Concentration at Shanzhou and the Crushing Battle of Hengshui

In October 762, Tang imperial army divisions converged with allied Uyghur cavalry divisions at the forward staging grounds of Shanzhou. Recognizing that Luoyang was the vital anchor of his political existence, Shi Chaoyi mobilized ten thousand frontline infantry and cavalry troops from Fanyang, Weibo, and Xiangzhou. He entrenched his forces in mountainous terrain along the Hengshui and Shence courier stations east of Shanzhou, constructing ramparts and entanglements across the defiles to ambush the imperial vanguard.

At daybreak on the twenty-ninth day of October, the two armies collided in a decisive engagement. At the outset of the battle, concealed rebel units unleashed volleys of arrows against the advancing Tang lines, temporarily destabilizing the vanguard infantry. In this crisis, commander Pugu Huai'en and his son Pugu Yang led elite Shuofang cavalry in a direct charge into the rebel formations. Concurrently, Mouyu Khagan directed thousands of Uyghur horsemen in a high-speed flanking maneuver that struck the rebel rear. The combined cavalry assault fractured the Yan infantry formations, throwing Shi Chaoyi's central command into complete disarray.

Tang heavy infantry pushed forward in support, pursuing the routed rebels across several leagues. Imperial forces killed over sixty thousand rebel soldiers, captured twenty thousand prisoners, and drove thousands more to drown in the Yellow River. Key rebel commanders scattered, while Shi Chaoyi fled with only several hundred horsemen, securing an unassailable strategic victory for the imperial coalition.

Liberation of the Eastern Capital and the Plunder of Luoyang

Following the triumph at Hengshui, imperial cavalry and allied units advanced toward Luoyang. On the night of the thirtieth of October, Shi Chaoyi arrived at the capital, but defense garrisons had dissolved, prompting him to flee north across the Yellow River under cover of darkness.

On the first day of November 762, the Prince of Yong and Pugu Huai'en entered Luoyang at the head of the imperial army, officially restoring Tang control over the eastern capital. However, the liberation was marred by tragedy. Prior to the campaign, imperial negotiators had promised the Uyghur Khaganate opportunities for material plunder, and wartime discipline among the Shuofang units had deteriorated. Uyghur troops and rogue imperial soldiers plundered the marketplaces and residential wards of Luoyang, extorting citizens and burning the historic Baima Temple. Consequently, the war-ravaged eastern capital suffered renewed destruction, leaving commercial wards desolate.

Northern Pursuit and the Encirclement of Mozhou

Following the recovery of Luoyang, Emperor Daizong ordered an uninterrupted offensive into Hebei to eradicate the remaining rebel forces. Pugu Huai'en commanded the primary pursuit force, coordinating with generals Li Baoyu and Li Guangbi to cross the Yellow River from multiple points. Confronted by imperial advances and exhausted by years of warfare, local populations along the route assisted the army, causing rebel administrative structures to collapse.

Tang forces swiftly recaptured Zhengzhou, Huazhou, and Weizhou, before Pugu Huai'en routed another rebel contingent outside Xiangzhou. Shi Chaoyi fled northward, abandoning baggage trains and mounts, seeking shelter behind the fortifications of his regional stronghold at Mozhou. In January 763, Pugu Huai'en's army and Uyghur cavalry encircled Mozhou with siege lines, mounting assaults with catapults and mobile towers. Outer bastions fell, and grain reserves were depleted, reducing the garrison to starvation.

Recognizing that the city could not hold, Shi Chaoyi assigned commander Tian Chengsi to maintain defense while leading five thousand cavalry in a nighttime breakout to solicit reinforcements from Fanyang. Pugu Huai'en dispatched cavalry under Pugu Yang in pursuit, inflicting heavy casualties north of the city. However, upon reaching Fanyang, Shi Chaoyi discovered that garrison general Li Huaixian had negotiated terms with the Tang court, shutting the gates against the rebel emperor.

Suicide in Guangyang Forest and the End of the Rebellion

Excluded from Fanyang, Shi Chaoyi fled into the countryside as his remaining escort dispersed under pressure from advancing Tang detachments and regional cavalry patrols, leaving him with only a handful of personal retainers.

In mid-January 763, trapped in the rugged terrain of Guangyang Forest northeast of modern Fangshan, Beijing, Shi Chaoyi recognized that capture was imminent and hanged himself from a tree. His retainers severed his head and surrendered to Li Huaixian, who dispatched couriers to deliver the head to Emperor Daizong in Chang'an. At Mozhou, Tian Chengsi surrendered his garrison; Zhang Zhongzhi capitulated at Zhaozhou, and Xue Song surrendered at Xiangzhou. Within weeks, remaining rebel strongholds throughout northern China submitted to imperial authority. The seven-year An-Shi Rebellion, which had begun in November 755 under An Lushan, was brought to a close.

Key Historical Figures

Tang Imperial Commanders and Allied Rulers

  • Emperor Daizong of Tang (Li Yu): Tang monarch; ascended the throne during national crisis, coordinated regional commanders, and enlisted Uyghur allies to execute the final offensive.
  • Prince of Yong (Li Gua): Eldest son of Emperor Daizong and supreme commander of imperial forces; later reigned as Emperor Dezong.
  • Pugu Huai'en: Military Governor of Shuofang and paramount field commander; orchestrated the victory at Hengshui, liberated Luoyang, and pursued Shi Chaoyi across Hebei.
  • Guo Ziyi: Renowned general and Vice Supreme Commander; stabilized regional defenses in Jiangzhou and coordinated logistical support for frontline divisions.
  • Mouyu Khagan (Tengri): Third monarch of the Uyghur Khaganate; commanded allied nomadic horsemen whose charges secured victory at the Battle of Hengshui.

Rebel Leaders and Surrendering Commanders

  • Shi Chaoyi: Eldest son of Shi Siming; usurped the Yan throne through patricide, suffered total defeat at Hengshui, and committed suicide in Guangyang Forest.
  • Tian Chengsi: Senior rebel general; defended Mozhou against siege forces before surrendering to the Tang court, later becoming the autonomous governor of the Weibo circuit.
  • Li Huaixian: Rebel commander of Youzhou; defected to the Tang cause, refused refuge to Shi Chaoyi, and presented the rebel emperor's head to the imperial court.

Outcomes and Historical Impact

Restoration of the Tang Dynastic Order

The recapture of Luoyang and the elimination of the Yan rebel regime terminated the gravest existential crisis in middle imperial Chinese history. Having survived the loss of both imperial capitals, the flight of monarchs, and deep economic disruption, the Tang dynasty preserved its institutional continuity through the efforts of military commanders and nomadic alliances, extending its dynastic mandate for another 144 years.

Formation of the Autonomous Three Garrisons of Hebei

However, the political terms negotiated to conclude the campaign created lasting structural damage to the imperial state. Depleted by eight years of warfare and facing the withdrawal of allied nomadic divisions, Emperor Daizong and Pugu Huai'en adopted a policy of political accommodation toward former insurgent commanders.

Rather than dismantling rebel military structures, the throne pardoned senior commanders such as Tian Chengsi, Li Huaixian, Zhang Zhongzhi (renamed Li Baozhen), and Xue Song, confirming them as regional military governors over their garrison circuits. This arrangement created the Three Garrisons of Hebei (Weibo, Chengde, and Lulong). These military governors controlled hereditary succession, collected local revenues, and maintained private armies, entrenching warlord regionalism and preventing the Tang court from restoring early-Tang administrative centralization.

Historical Evaluation

The Old Book of Tang records: "Pugu Huai'en cultivated friendship with the Uyghurs and personally braved arrows in battle. He defeated Shi Chaoyi at Hengshui, recovered the eastern capital, and pursued the fleeing rebels until he eliminated the insurgent leader. Since An Lushan raised rebellion, eight years passed before the realm was pacified; Huai'en's merits stood foremost among all generals."

The New Book of Tang critiques: "An Lushan and Shi Siming rebelled against Heaven; their sons slew their fathers, prolonging catastrophe for eight years and drenching the realm in blood. Shi Chaoyi hanged himself at Guangyang, destroying the rebel line. Yet the court conciliated surrendering generals and granted them regional commands. Though the original rebellion was extinguished, the foundations of permanent regional fragmentation were firmly established."

Sima Guang summarizes in the Comprehensive Mirror in Aid of Governance: "During the An-Shi Rebellion, the realm was ravaged, the eastern capital destroyed, and the capital region depopulated. Although Huai'en fought hard to recover the capital and Chaoyi was eliminated, the court was eager to conclude hostilities and entrusted the Hebei garrisons to former insurgents. From then on, rebel remnants entrenched themselves and military governorships dominated, planting the roots of the Tang dynasty's eventual weakness."

Related Entries

  • An-Shi Rebellion
  • Shi Siming
  • Shi Chaoyi
  • Pugu Huai'en
  • Emperor Daizong of Tang
  • Uyghur Khaganate
  • Three Garrisons of Hebei
  • Factional Regionalism of the Tang Dynasty

Bibliography

  • Old Book of Tang, Volume 11: "Annals of Emperor Daizong"
  • Old Book of Tang, Volume 121: "Biographies 71: Biography of Pugu Huai'en"
  • Old Book of Tang, Volume 200: "Biographies 150: Biographies of An Lushan and Shi Siming"
  • New Book of Tang, Volume 6: "Annals of Emperor Daizong"
  • New Book of Tang, Volume 224: "Biographies 149: Biography of Pugu Huai'en"
  • Comprehensive Mirror in Aid of Governance, Volume 222: "Tang Annals 38"