张全义
张全义
Image creditsCHISTImage source

Historical figure

Zhang Quanyi (张全义)

张全义

Zhang Quanyi (张全义) (852 – April 29, 926), originally named Zhang Jubao and later bestowed the name Zhang Zongshi by Zhu Wen, was a native of Linpu in Puzhou (in modern Juancheng, Shandong Province). He was a prominent military commander and statesman during the late Tang dynasty and the Five Dynasties period. Born into a farming family, he served as a local county clerk before joining the Huang Chao Rebellion, in which he…

Later Tang Dynasty (后唐)

PROFILE

Zhang Quanyi (张全义) (852 – April 29, 926), originally named Zhang Jubao and later bestowed the name Zhang Zongshi by Zhu Wen, was a native of Linpu in Puzhou (in modern Juancheng, Shandong Province). He was a prominent military commander and statesman during the late Tang dynasty and the Five Dynasties period. Born into a farming family, he served as a local county clerk before joining the Huang Chao Rebellion, in which he held high logistical and personnel posts in the rebel Qi regime. Following the defeat of the rebellion, he surrendered to Tang Military Commissioner Zhuge Shuang, received the name Quanyi, and was made Prefect of Zezhou. In 887, upon the recommendation of Li Keyong, Zhang was appointed Governor of Henan. At that time, the eastern capital Luoyang was virtually uninhabited, devastated by successive warlord incursions, littered with unburied corpses, and reduced to fewer than one hundred households. Governing Luoyang for nearly four decades, Zhang implemented policies to resettle refugees, promote agriculture, reduce corvee labor, and lighten taxes, transforming the region into an oasis of economic prosperity amidst widespread turmoil. He later allied with Zhu Wen, providing vital logistics and reconstructing imperial palace complexes in Luoyang. In Later Liang, he was enfeoffed as Prince of Wei and held the three highest honorary preceptor ranks. In 923, when Emperor Zhuangzong of Later Tang destroyed Later Liang, Zhang promptly submitted and was treated with great honor, being appointed Director of the Department of State Affairs, President of the Secretariat, and Prince of Qi. In 926, when the Yedu mutiny erupted and Li Siyuan advanced toward Luoyang, Zhang succumbed to anxiety and illness, dying at the age of seventy-five. He was posthumously granted the title of Grand Preceptor and the posthumous name Zhongsu.

Alias
Zhang Jubao (original name), Zhang Zongshi (conferred name)
Posthumous Name
Zhongsu
Enfeoffment
Prince of Wei (Later Liang), Prince of Qi (Later Tang)
Ancestral Home
Linpu County, Puzhou (modern Juancheng, Shandong Province)
Period
Late Tang · Five Dynasties and Ten Kingdoms · Later Liang · Later Tang
Date of Birth
852
Date of Death
April 29, 926
Age at Death
75
Highest Office
Grand Preceptor, Director of the Department of State Affairs, President of the Secretariat, Governor of Henan
Major Offices
Prefect of Zezhou, Military Commissioner of Heyang, Military Commissioner of Youguo, Governor of Henan, Military Commissioner of Zhongwu
Identity Positioning
Warlord general and senior statesman of the late Tang and Five Dynasties, restorer of Luoyang

LIFE TIMELINE

Birth into Peasant Household

Born to a peasant family in Linpu County, Puzhou, later serving as a junior county clerk.

Joining Huang Chao Rebellion

Fled persecution by local magistrates to join Huang Chao; served as Minister of Personnel and Transport Envoy in Chang'an.

Surrender to Zhuge Shuang

Defected to Tang Military Commissioner Zhuge Shuang upon the rebellion's collapse; granted the name Quanyi and appointed Prefect of Zezhou.

Appointment as Governor of Henan

Expelled Sun Ru alongside Li Hanzhi; recommended by Li Keyong to govern the ruined metropolis of Luoyang.

Alliance with Zhu Wen

Seized Heyang from Li Hanzhi; rescued by Zhu Wen's reinforcements during a brutal siege, forging a lifelong alliance with Liang.

Reconstruction of Luoyang Palaces

Rebuilt imperial palaces in Luoyang to facilitate Emperor Zhaozong's relocation; transferred briefly to Tianping before returning.

Enfeoffment as Prince of Wei

Zhu Wen usurped the Tang throne and founded Later Liang; reappointed Zhang as Governor of Henan, granted the name Zongshi, and enfeoffed him as Prince of Wei.

Enduring Imperial Humiliation

Promoted to Grand Preceptor; restrained his son from assassinating Zhu Wen after the latter violated his household at Huijie Garden.

Submission to Later Tang

Welcomed Emperor Zhuangzong into Kaifeng with a thousand horses; confirmed as Director of the Department of State Affairs and Governor of Henan.

Death Amidst Palace Rebellion

The Yedu mutiny erupted and Li Siyuan approached the capital; Zhang died of grief and anxiety on April 29 at age seventy-five.

Relationship graph

BIOGRAPHY

Biography

Humble Beginnings and Early Allegiances

Zhang Quanyi came from a long line of farmers in Linpu, Puzhou. In his youth, he worked as a minor clerk in the local county magistrate's office, where he suffered continuous insults and mistreatment from the county magistrate, eventually prompting him to flee. Amid the chaos of the late Tang period, he joined the widespread peasant uprising led by Huang Chao. In 880, when rebel forces captured the imperial capital of Chang'an and proclaimed the Great Qi dynasty, Zhang's administrative competence earned him appointment as Minister of Personnel and Grain Transport Commissioner, managing logistical shipments for the rebel regime.

In 884, as Huang Chao's forces collapsed under joint offensives by Tang imperial and provincial armies, Zhang led his remaining troops east to Heyang and surrendered to Tang Military Commissioner Zhuge Shuang. Impressed by his poise and capability, Zhuge Shuang took him into his service as a junior officer. Zhang distinguished himself in numerous campaigns, prompting Zhuge Shuang to memorialize the throne to appoint him Prefect of Zezhou. Emperor Xizong bestowed upon him the formal name Quanyi. Zhuge Shuang foresaw that Zhang would eventually rise to higher offices than his own. Following Zhuge Shuang's death, Zhang remained profoundly grateful for his patron's early trust, hanging Zhuge's portrait in his private hall and burning incense before it every morning before attending to public business, a ritual he observed for the rest of his life.

Restoring Luoyang and the Liang-Jin Rivalry

In 886, Zhuge Shuang passed away, triggering factional conflicts among his generals. General Liu Jing clashed with Li Hanzhi; Zhang allied with Li to resist Liu. Soon afterward, the ruthless Henan warlord Sun Ru invaded and sacked Heyang, forcing Zhang and Li to retreat to Huai Prefecture and Ze Prefecture. In the summer of 887, Xuanwu Military Commissioner Zhu Wen defeated Sun Ru's forces, and Sun Ru abandoned the city. Li Hanzhi and Zhang reassembled their troops, with Li occupying Heyang and Zhang entering Luoyang. Li Keyong of Hedong petitioned the imperial court to appoint Li Hanzhi as Military Commissioner of Heyang and Zhang Quanyi as Governor of Henan.

At that time, Luoyang had endured repeated ravages by Huang Chao, Lu Yanhong, and Sun Ru. The imperial palaces lay in ashes, corpses covered the fields, and fewer than one hundred civilian households remained within the city walls. Leading a contingent of barely one hundred men, Zhang established his administrative headquarters within the small compound of Zhongzhou City and commenced reconstruction. However, Li Hanzhi in neighboring Heyang proved tyrannical, undisciplined, and chronically short of provisions, demanding continual grain and silk from Luoyang. When supplies fell short, Li had Luoyang officials brought to Heyang and flogged, causing deep resentment among Zhang's subordinates.

In 888, Li Hanzhi led an expedition against Jinzhou and Jiangzhou, leaving his base lightly defended. Coordinated with Wang Chongying of Hezhong, Zhang executed a surprise raid, seizing Heyang and driving out Li Hanzhi's garrison. Infuriated, Li Hanzhi obtained seven thousand cavalry from Li Keyong and laid siege to Heyang. Zhang was besieged for months until provisions were completely exhausted, and his men were forced to ingest sawdust to stave off starvation. Desperate, Zhang appealed to Zhu Wen, who dispatched Ding Hui and Ge Congzhou with tens of thousands of troops to break the siege. Zhu Wen installed Ding Hui to guard Heyang and reassigned Zhang to focus solely on governing Luoyang. Deeply indebted for his survival, Zhang pledged steadfast allegiance to Zhu Wen.

Endurance and Subservience under Later Liang

With Zhu Wen's backing, Zhang was granted the titles of Chancellor, Military Commissioner of Youguo, and President of the Secretariat. While Emperor Zhaozong was detained in Huazhou by warlord Han Jian, Zhu Wen repeatedly proposed moving the imperial capital to Luoyang and ordered Zhang to renovate the imperial palaces. Zhang directed laborers over several years to restore the dilapidated halls, storehouses, and sacrificial altars. In 904, Zhu Wen coerced Emperor Zhaozong to relocate to Luoyang and subsequently orchestrated his murder. Aware of Zhu Wen's suspicious temperament, Zhang proactively requested a reassignment to Tianping to dispel suspicion, which pleased Zhu Wen, who soon returned him to Luoyang as Governor of Henan with command over imperial guards.

In 907, Zhu Wen deposed the Tang emperor and founded Later Liang. He appointed Zhang as Grand Guardian, enfeoffed him as Prince of Wei, and bestowed upon him the name Zongshi. Zhang was subsequently elevated to Grand Tutor in 910 and Grand Preceptor in 911. During the intense wars between Liang and Jin, Liang forces suffered catastrophic losses at the Battle of Baixiang. In the rear, Zhang mobilized grain, armor, and horses to sustain Liang armies. In the seventh month of 911, Zhu Wen stayed at Zhang's Huijie Garden villa in Luoyang to escape the summer heat, where he indulged in licentious behavior and sexually assaulted Zhang's wife and daughters. Enraged, Zhang's son Zhang Jizuo drew his sword to assassinate Zhu Wen. Zhang wept and physically restrained his son, reminding him that during the siege of Heyang they had survived by eating sawdust only because Zhu Wen came to their rescue, warning that an impulsive act would bring extermination upon the entire clan. His second wife, Lady Chu, also repeatedly used clever arguments at court to deflect Zhu Wen's paranoia, allowing Zhang to survive Zhu's lethal purges.

Surrender to Later Tang and Final Years

In 912, Zhu Wen was assassinated by his son Zhu Yougui, who was in turn overthrown by Zhu Youzhen (Emperor Modi). Zhang served successively as Grand Defender, Chief Commissioner of State Finance, and Imperial Retainer of Luoyang. During the climactic war against Jin, Emperor Modi placed his trust in incompetent imperial relatives such as Zhao Yan and Duan Ning. Zhang repeatedly requested command of northern expeditionary forces to halt the Jin advance, but Modi distrusted him and declined. Meanwhile, Zhang's younger brother Zhang Quanwu, who had been captured by Jin years earlier and treated generously, was living in Taiyuan, providing a confidential communication channel between Zhang and Prince of Jin Li Cunxu.

In the tenth month of 923, Li Cunxu led his cavalry into Kaifeng, bringing Later Liang to an end. The seventy-two-year-old Zhang Quanyi rushed from Luoyang to Kaifeng, prostrating himself before the palace steps and presenting a tribute of one thousand fine warhorses. Recognizing his immense prestige and advanced age, Emperor Zhuangzong treated him with extraordinary honors, helping him ascend the palace steps and confirming him as Director of the Department of State Affairs, Prince of Wei, and Governor of Henan. When Li Cunxu intended to exhume Zhu Wen's tomb, decapitate the corpse, and burn the remains, Zhang earnestly remonstrated, arguing that executing Zhu Wen's sons had already satisfied the state's vengeance, whereas desecrating a corpse would tarnish imperial benevolence. Li Cunxu concurred and merely leveled the surface mound of the mausoleum.

In 924, when Emperor Zhuangzong performed imperial suburban sacrifices in Luoyang, he re-enfeoffed Zhang as Prince of Qi, President of the Secretariat, and bestowed upon him an honorary meritorious title. To safeguard his position, Zhang showered Empress Liu with valuable gifts, prompting her to adopt Zhang as her ceremonial godfather. In the second month of 926, the Yedu mutiny erupted in northern garrisons. Emperor Zhuangzong accepted Zhang's recommendation to dispatch Li Siyuan north to suppress the rebellion. However, the mutinous troops compelled Li Siyuan to join them, and he marched south toward Luoyang. Stricken with terror at the prospect of impending catastrophe, Zhang refused all sustenance and died in his Luoyang residence on April 29, 926, at the age of seventy-five. Upon ascending the throne, Li Siyuan posthumously conferred upon him the title of Grand Preceptor and the posthumous name Zhongsu.

Major Achievements

Urban Restoration and Agricultural Revival

Zhang Quanyi's crowning historical achievement was the revitalization of Luoyang from total devastation into a flourishing metropolitan capital. When he arrived in Luoyang, the surrounding plains were depopulated and overgrown with weeds. Drawing on his agrarian background, he selected local farmers to act as rural magistrates, organized refugees into household units, distributed abandoned fields, and provided draft oxen, farming implements, and grain seeds without charge.

To nurture recovery, Zhang instituted exceptionally lenient taxation across the Henan commandery, prohibited soldiers from harassing peasantry, and personally encouraged agricultural production. Over the course of a decade, the Luoyang countryside became fully cultivated, supporting hundreds of thousands of households with abundant grain reserves that withstood droughts without famine. Grateful for their salvation, the populace erected living shrines in his honor, hailing him as a fatherly benefactor.

Capital Reconstruction and Dynastic Foundation

In urban planning and imperial logistics, Zhang shouldered the crucial responsibility of overseeing the geopolitical transition of China's capital from Chang'an to Luoyang during the late Tang and Five Dynasties. In the early tenth century, he mobilized administrative resources to reconstruct the vast Ziwei Palace complexes, administrative offices, and southern suburban sacrificial altars in Luoyang according to Tang imperial designs.

Following the establishment of Later Liang and Later Tang, Luoyang served as the operational political and logistical core of northern China. The vast expenditures of the imperial court, ancestral sacrificial ceremonies, tax grain shipments, and maintenance of thousands of imperial guards relied entirely on Zhang's efficient administration of Henan. His steady four-decade tenure maintained economic vitality and political cohesion throughout continuous dynastic transitions.

Prayers for Rain and Judicial Idiosyncrasies

Because agricultural yields in Henan were highly vulnerable to natural disasters, Zhang took religious ceremonies for rain and flood control with profound earnestness. During periods of drought, he engaged in purification, fasting, and prayer with the utmost devotion. On one occasion during a prolonged drought in Luoyang, he traveled to the Longmen Guanghua Temple to open the memorial pagoda of Tantric Master Shanwuwei and prayed for rain; heavy downpours soon followed. This inspired the popular local saying, "When the Prince prays for rain, buy rain gear."

In civil litigation, Zhang possessed an uncomplicated judicial disposition, habitually ruling in favor of whichever litigant arrived first at the magistrate's hall. This practice allowed scheming individuals to fabricate lawsuits, drawing contemporary criticism. On another occasion, a military monitor seized an ornamental stone belonging to the late Tang chancellor Li Deyu; when Li's grandson sought Zhang's assistance, the monitor insulted Zhang's rebel background, prompting an enraged Zhang to order his execution by flogging, illustrating the stern and volatile qualities of warlord justice.

Political Shrewdness and Survival

Amid the relentless slaughter and rapid dynastic turnover of the Five Dynasties, Zhang Quanyi was one of the few civilian-oriented warlords without a personal elite cavalry corps to survive multiple regime changes intact. Serving successively under Huang Chao, Zhuge Shuang, the Tang dynasty, Later Liang, and Later Tang, he maintained his preeminent position through shrewd adaptability.

When confronted by Zhu Wen's tyranny and personal humiliations, Zhang exercised immense forbearance, subordinating personal grief to the survival of his clan. When Later Tang cavalry triumphed, he had imperial sacrifice regalia and hundreds of warhorses prepared in advance to welcome the victor, while securing Empress Liu as his patron. Combining calculated endurance with genuine administrative talent, he established a singular legacy of survival and civic achievement in Five Dynasties history.

Personal Relationships

  • Early Patron (Tang): Zhuge Shuang (Military Commissioner of Heyang who promoted Zhang to Prefect of Zezhou)
  • Ally Turned Adversary: Li Hanzhi (warlord of Heyang; originally Zhang's blood brother, later expelled by Zhang after excessive extortions)
  • Imperial Lord (Later Liang): Zhu Wen (founding Emperor Taizu of Later Liang, who lifted the siege of Heyang and relied on Zhang as his chief logistician)
  • Imperial Lord (Later Tang): Li Cunxu (Emperor Zhuangzong of Later Tang, who honored Zhang as Prince of Qi and Director of State Affairs)
  • Adoptive Daughter and Patroness: Liu Yuniang (Empress of Emperor Zhuangzong of Later Tang, who adopted Zhang as her ceremonial godfather)
  • First Wife: Lady Jiang (Lady of Tianshui Commandery, lived 849–916)
  • Second Wife: Lady Chu (Lady of Wei State, intelligent and resourceful, who repeatedly averted Zhu Wen's wrath against Zhang)
  • Eldest Son: Zhang Jiye (born to Lady Jiang, served as Defense Commissioner of Heyang)
  • Second Son: Zhang Jizuo (senior general who was prevented by his father from killing Zhu Wen; later executed for rebellion in Later Jin)
  • Younger Brother: Zhang Quanwu (captured by Jin troops in his youth, served as Zhang's confidential intermediary to the Shatuo court)

Historical Evaluations

  • Xue Juzheng, et al. (Old History of the Five Dynasties): "Quanyi arose from bandit ranks and pledged allegiance to the founder of Liang, governing Luoyang for nearly forty years. He encouraged farming and sericulture, simplified corvee and taxation; displaced people arrived daily, and households grew prosperous. These were his strengths. Yet having eaten sawdust to escape siege, he honored Zhuge Shuang's likeness all his life, earning acclaim for loyalty. Still, in submitting to humiliations to preserve life and flattering consorts and eunuchs, he left little worthy of praise beyond personal survival."
  • Ouyang Xiu (Historical Records of the Five Dynasties): "Quanyi originally rose among the rebels, subsequently serving multiple masters, yet he was able to enrich the state through agriculture, preserve his life, and receive royal enfeoffment; he was truly an extraordinary figure of a chaotic age."
  • Sima Guang (Comprehensive Mirror in Aid of Governance): "Zhang Quanyi governed Luoyang by soothing displaced populations and promoting farming; within a few years, the Central Plains relied upon him for stability. Although he submitted to the rebel Zhu Wen to preserve his own life, his merits in providing for the livelihood of the people cannot be forgotten."

Related Entries

  • Zhuge Shuang
  • Li Hanzhi
  • Zhu Wen
  • Li Cunxu
  • Henan Commandery
  • Luoyang

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Xue Juzheng, et al., Old History of the Five Dynasties, vol. 63, "Biographies XV"
  • Ouyang Xiu, Historical Records of the Five Dynasties, vol. 45, "Miscellaneous Biographies XXXIII"