Biography
Palace Service and the Baoying Coup
Cheng Yuanzhen was born in Sanyuan County, Yongzhou, a strategic metropolitan commandery in Guanzhong. Castrated in his youth, he entered official palace service within the Palace Domestic Service (Neishi Sheng). Endowed with agility, keen observation, and military competence, he distinguished himself in mounted archery, rising through successive promotions to Commissioner of Imperial Mounted Archers (Neishesheng Shi) and Vice Commissioner of the Imperial Flying Dragon Stables.
In early 762, Emperor Suzong fell gravely ill and was unable to attend court assemblies. The court appointed Crown Prince Li Yu as regent to oversee imperial affairs, intensifying deep structural rivalries between competing palace factions.
At that time, Emperor Suzong's consort, Empress Zhang, wielded vast influence. She had previously allied with senior eunuch Li Fuguo to purge ministers Xiao Hua and Pei Mian, and had coerced the retired Emperor Xuanzong while banishing loyalists Gao Lishi and Chen Xuanli. However, as Li Fuguo's power became absolute, Empress Zhang grew anxious to establish female supremacy modeled on Empress Wu and Empress Wei. Viewing Crown Prince Li Yu as too upright and independent, she conspired with Prince of Yue Li Xi, Prince of Yan Li Xian, and eunuch Duan Hengjun to stage a palace coup upon Suzong's death, planning to assassinate the crown prince and Li Fuguo and enthrone Li Xi.
Serving as Commissioner of Mounted Archers, Cheng Yuanzhen possessed extensive intelligence networks and uncovered Empress Zhang's armed plot. Assessing the balance of power, he rode secretly to alert Li Fuguo. Li Fuguo immediately commanded Cheng Yuanzhen to assemble the palace archers and imperial guards to prepare for defensive operations.
On the night of April 18, 762, Empress Zhang forged an imperial decree summoning Crown Prince Li Yu into the palace. Sensing danger, Cheng Yuanzhen intercepted the prince before the Sanqing Hall and placed him under heavy guard. Concurrently, Cheng Yuanzhen and Li Fuguo led armed imperial guards to storm the Changsheng Hall, arresting Empress Zhang, the Prince of Yue, and their conspirators. Shocked by the clamor of weapons outside his bedchamber, Emperor Suzong passed away that very night.
Li Fuguo executed Empress Zhang and her partisans on the spot, joining Cheng Yuanzhen in escorting Crown Prince Li Yu to the throne as Emperor Daizong.
Eliminating Rivals and Monopolizing Armies
Following his accession, Emperor Daizong rewarded Cheng Yuanzhen for his vital role in the succession, appointing him Vice Commissioner of Flying Dragon Stables, General of the Right Palace Gate Guard, and Director of the Palace Domestic Service. Soon after, when general Yao Zi'ang declined the post, Daizong appointed Cheng Yuanzhen as Adjutant of the Marshal's Bureau, conferring upon him direct command over the imperial guards, the rank of Grand General of the Right Palace Gate Guard, and the noble title Marquis of Baoding.
Meanwhile, Li Fuguo had been honored as "Imperial Father," Chancellor, and Sikong, becoming increasingly arrogant. Li Fuguo audaciously declared to the young emperor: "Your Majesty need only remain inside the palace; leave external affairs entirely to your humble servant!" While outward appearances showed Daizong deferring to his senior eunuch, the emperor inwardly resented Li Fuguo's usurpation and cultivated Cheng Yuanzhen to neutralize his rival.
In the tenth month of 762, judging the moment ripe, Emperor Daizong arranged for palace assassins disguised as common bandits to infiltrate Li Fuguo's private mansion at night, severing his head and throwing it into a ditch. Afterwards, the emperor feigned grief, dispatching investigators to search for the perpetrators while sending formal condolences to the family.
With Li Fuguo dead, Cheng Yuanzhen stepped into supreme authority. Daizong promoted him to Grand General of Agile Cavalry and Duke of Bin, placing all central imperial guards under his unified command. The emperor posthumously honored his father Cheng Yuanzhen as Sikong and his mother Lady Qie as Duchess of Zhao. Within the imperial armies, Cheng Yuanzhen was addressed deferentially as "Tenth Master," wielding greater executive dominance than Li Fuguo had ever held.
Persecuting Generals and Fracturing Frontiers
Having consolidated power, Cheng Yuanzhen used his position to settle private grievances and purge unyielding commanders.
Previously, Cheng Yuanzhen had sent private solicitations to Lai Tian, the military commissioner of Xiangyang, demanding favors. Renowned for integrity, Lai Tian rejected his requests, earning Cheng Yuanzhen's venomous enmity. Around that time, former military commissioner Wang Zhongsheng, who had been captured by An Lushan rebels and released after the war, returned to Chang'an. Seeking armed henchmen, Cheng Yuanzhen secured Wang Zhongsheng's appointment as Grand General of the Right Feathered Forest Guard and Censor-in-Chief, establishing a troubling precedent of combining military and censorate commands.
At Cheng Yuanzhen's instigation, Wang Zhongsheng forged evidence accusing Lai Tian of treasonous collusion with rebels. Cheng Yuanzhen summoned Lai Tian to Chang'an under imperial decree and had him executed in prison.
Shortly thereafter, Chancellor Pei Mian clashed with Cheng Yuanzhen over imperial funeral protocols for Emperor Suzong. Cheng Yuanzhen ordered subordinates to frame Pei Mian on charges of embezzlement, demoting the founding statesman to Prefect of Shizhou. Military commissioner Li Huairang of Tonghua, terrified by baseless slander orchestrated by Cheng Yuanzhen, committed suicide in his headquarters. Furthermore, Cheng Yuanzhen harbored bitter jealousy toward Prince of Ruyang Li Guangbi, the foremost general of the Tang restoration, repeatedly slandering him to Emperor Daizong until the veteran general dared not enter Chang'an.
Lai Tian was the bulwark of the southern frontier, while Pei Mian and Li Guangbi were founding pillars of the restoration. The brutal purging of these venerable leaders terrified military commissioners across the empire. Recognizing that court loyalty invited assassination, regional commanders withdrew into autonomous isolation, refusing central commands and withholding soldiers.
Suppressing Intelligence and the Fall of Chang'an
In the autumn of 763, exploiting the collapse of Tang frontier defense following the An Lushan Rebellion, the Tibetan Empire mobilized two hundred thousand cavalry alongside Dangxiang tribal allies to launch an invasion of the Guanzhong plains.
Tibetan armies swept through frontier mountain passes, and urgent military dispatches poured into the capital. However, Cheng Yuanzhen suppressed every message, keeping Emperor Daizong completely ignorant of the invasion to preserve his domestic standing.
In October 763, Tibetan cavalry breached the Dazhen Pass, took Jingzhou, and marched unimpeded through Binzhou toward the Bian Bridge near Xianyang, placing the invaders within a day's march of Chang'an. Only when enemy banners were visible across the Wei River did Emperor Daizong learn of the invasion.
Panic engulfed the palace. Emperor Daizong issued frantic decrees commanding regional commissioners to lead their armies to relieve the capital. However, resentful of Cheng Yuanzhen's tyranny and fearful of court execution, not a single regional general responded to the imperial summons.
On the night of October 18, 763, Tibetan vanguard cavalry reached Bian Bridge. In total disarray, Emperor Daizong fled the palace in disguise, fleeing east to Shan Prefecture. As the imperial retinue fled, capital security dissolved into chaos, and mobs looted the imperial palaces. Tibetan forces occupied Chang'an without encountering resistance, enthroning imperial kinsman Li Chenghong as a puppet emperor while looting libraries and warehouses, reducing the capital to ashes.
Liu Kang's Remonstrance and Assassination at Jiangling
Arriving at Shan Prefecture, Emperor Daizong was paralyzed by national disaster. At this critical juncture, Imperial Sacrifices Doctor and Hanlin Scholar Liu Kang risked execution to submit an historic memorial:
"The Tibetan invaders breached our frontiers and entered Chang'an without losing a single soldier; our ministers spoke not a word, our soldiers fought not a battle, and our populace pillaged the treasury. When Your Majesty summoned regional armies, not a single chariot arrived across forty days! The four quarters have abandoned Your Majesty because you distanced yourself from worthy ministers and placed absolute trust in the eunuch Cheng Yuanzhen! If Your Majesty desires to preserve the altars of state, you must decapitate Cheng Yuanzhen, proclaim his crimes to the world, and issue an imperial apology!"
Confronted with universal indignation, Emperor Daizong could no longer shield his favorite. However, mindful of Cheng Yuanzhen's personal defense during the 762 coup, Daizong spared his life, stripping him of all military and noble titles and banishing him to his native county of Sanyuan.
Following the dismissal, Emperor Daizong appointed veteran general Guo Ziyi as Deputy Marshal. Guo Ziyi orchestrated a psychological defense, sending two hundred light cavalry through Lantian to light fires and beat drums while townspeople spread rumors that Guo Ziyi was arriving with a massive host. Terrified of encirclement, the Tibetan armies withdrew after a fifteen-day occupation, allowing Emperor Daizong to return to Chang'an.
Yet Cheng Yuanzhen refused to accept his downfall. In December 763, when the imperial retinue returned, Cheng Yuanzhen disguised himself in mourning clothes inside a covered cart, sneaking into Chang'an to seek a private imperial audience.
In 764, Cheng Yuanzhen donned women's clothing and hid inside the residence of Director of the Court of Agriculture Chen Jingquan, attempting to rally former partisans. Imperial censors discovered his conspiracy and impeached him before the throne. Incensed by his persistence, Emperor Daizong ordered Cheng Yuanzhen into permanent exile in remote Qin Prefecture (present-day Qijiang, Chongqing).
While being escorted south, Cheng Yuanzhen reached the postal station of Jiangling in Jingzhou. Having earned the hatred of provincial commanders whose kin and comrades he had murdered, Cheng Yuanzhen was ambushed in his quarters by vengeful assassins and stabbed to death, bringing his destructive career to an ignominious end.