裴耀卿
裴耀卿
Image creditsCHISTImage source

681 CE–743 CE

Chancellor of the Kaiyuan EraTransport CommissionerWater Conservancy and Reformer of Grain Transport by WaterwaysStatesman

裴耀卿 (Pei Yaoqing)

裴耀卿

Pei Yaoqing, 681–743 (裴耀卿), courtesy name Huanzhi (涣之), was an eminent chancellor, statesman, and pioneering economic reformer of the High Tang dynasty hailing from Jishan County, Jiangzhou (modern Jishan, Shanxi), belonging to the prestigious Eastern Branch of the Hedong Pei clan. Rising through the imperial civil examinations by passing the Child Prodigy Examination at age eight, he gained widespread renown for…

681 CE–743 CETang Dynasty (唐朝)

PROFILE

Pei Yaoqing, 681–743 (裴耀卿), courtesy name Huanzhi (涣之), was an eminent chancellor, statesman, and pioneering economic reformer of the High Tang dynasty hailing from Jishan County, Jiangzhou (modern Jishan, Shanxi), belonging to the prestigious Eastern Branch of the Hedong Pei clan. Rising through the imperial civil examinations by passing the Child Prodigy Examination at age eight, he gained widespread renown for incorruptibility, administrative efficiency, and moral courage. In 725, while serving as Prefect of Jizhou during Emperor Xuanzong's eastern fengshan pilgrimage to Mount Tai, Pei Yaoqing submitted a famous memorial warning that burdening the peasantry with excessive corvée undermined sacred imperial governance; deeply moved, Emperor Xuanzong placed the memorial beside his imperial seat as a personal admonition. In 733, addressing the chronic century-old grain shortages that repeatedly forced the Tang court and civil bureaucracy to abandon the imperial capital of Chang'an to seek food in Luoyang, Pei Yaoqing was commissioned as Transport Commissioner for Jianghuai and Henan to execute an overhaul of the imperial system of grain transport by waterways. Dismantling the obsolete direct-shipping model where flat-bottomed southern barges foundered in the turbulent northern riverways, he invented the staged sectional transport system. He established the Heyin Granary at the confluence of the Bian and Yellow rivers and built the Jijin and Sanmen granaries around the treacherous Sanmen Gorge, opening an eighteen-li overland portage road to bypass lethal whirlpools. Within three years, the new network accumulated seven million shi of grain and saved three hundred thousand strings of cash, permanently eliminating famine in Guanzhong. Elevated to Palace Attendant in 734, Pei Yaoqing partnered with fellow chancellor Zhang Jiuling to enforce administrative integrity, restrain imperial in-laws, and maintain the moral rectitude of the Kaiyuan era. Although subsequently ousted from power due to the machinations of Li Linfu, he continued to offer fearless counsel, successfully petitioning for the suspension of corporal floggings during the heat of midsummer. Passing away in 743 at age sixty-three, he was posthumously honored as Grand Tutor to the Crown Prince and canonized as Wenxian, remaining revered as an architect of Tang prosperity.

Courtesy Name
Huanzhi (字涣之)
Posthumous Name
Wenxian (文献)
Era
High Tang Dynasty
Dynasty / Regime
Tang Dynasty
Identity
Chancellor of the Kaiyuan Era, Transport Commissioner, Water Conservancy and Reformer of Grain Transport by Waterways, Statesman
Ancestral Home
Jishan County, Jiangzhou (modern Jishan County, Shanxi)
Birth Date
681 (First year of the Kaiyao era, Tang)
Death Date
743 (Second year of the Tianbao era, Tang)
Major Offices
Prefect of Jizhou, Magistrate of Chang'an, Vice Minister of Revenue, Commissioner of Salt and Iron Transport for Jianghuai and Henan, Vice Director of the Chancellery, Joint Manager of Affairs with the Secretariat-Chancellery, Palace Attendant (Shizhong), Left Grand Councilor, Left Vice Director of the Department of State Affairs (Posthumously granted Grand Tutor to the Crown Prince, Minister of Works)
Enfeoffment
Marquis of Zhaocheng County, Duke of Zanhuang County
Major Achievements
Admonished Emperor Xuanzong during the Mount Tai fengshan pilgrimage that taxing commoners invalidates imperial success; spearheaded the Kaiyuan reform of grain transport by waterways, establishing the staged sectional transport system; built granary networks at Heyin, Jijin, and Sanmen to bypass Sanmen Gorge, accumulating seven million shi of grain in three years; collaborated with Zhang Jiuling to purify court governance; secured the abolition of midsummer corporal floggings

LIFE TIMELINE

Birth

Born into the prominent Eastern Branch of the Hedong Pei clan in Jishan; his father Pei Shouzhen served as provincial governor

Child Prodigy

Memorized the Nine Classics and sat for imperial exams at age eight, passing the Child Prodigy Examination

Initial Service

Appointed Collator in the Palace Library at age twenty; recruited as private secretary by Li Dan (Emperor Ruizong)

Central Office

Promoted to Registrar in the Directorate of Education following Emperor Ruizong's restoration

Bureau of Evaluations

Promoted to Director in the Ministry of War, demonstrating meticulous administrative precision

Mount Tai Admonition

Submitted an impassioned memorial against extravagant corvée; Emperor Xuanzong kept the text beside his seat

Magistrate of Chang'an

Served as Vice Minister of Revenue and Magistrate of Chang'an, curbing aristocratic abuses

Transport Reform

Formulated the Strategic Memorial on Grain Transport; appointed Transport Commissioner to construct the staged granary system

Elevation to Chancellor

Accumulated seven million shi of grain in three years; appointed Palace Attendant, governing alongside Zhang Jiuling

Dismissal by Faction

Slandered by Li Linfu over the Yan Tingzhi affair; dismissed alongside Zhang Jiuling and appointed Left Grand Councilor

Judicial Humanity

Successfully petitioned for the abolition of midsummer corporal beatings, establishing an enduring judicial precedent

Foresight on Frontier Generals

Warned that General Gai Jiayun's arrogance and drunkenness would invite military catastrophe, which proved true

Department of State Affairs

Reappointed Left Vice Director of the Department of State Affairs, leading the civil bureaucracy

Passing

Died in Chang'an at age sixty-three; Emperor Xuanzong suspended court, granting the posthumous title Wenxian

Relationship graph

BIOGRAPHY

Life and Career

Noble Pedigree and Early Eminence

Pei Yaoqing, courtesy name Huanzhi, was born in 681 in Jishan County, Jiangzhou. He belonged to the Eastern Branch of the prestigious Hedong Pei lineage, one of the foremost aristocratic houses of medieval China. His father, Pei Shouzhen, was renowned across the high courts of Emperor Gaozong and Wu Zetian for unbending rectitude and incorruptibility, serving as Secretariat Drafter, Vice Minister of the Court of the National Granaries, and Regional Inspector of Binzhou and Ningzhou. His elder brother Pei Ziyu served as Policy Adviser, and the siblings were celebrated for upholding familial harmony and classical discipline.

Pei Yaoqing demonstrated prodigal intellect from earliest childhood, committing classical texts to memory under the tutelage of his father and elder brother. In 689, when the imperial court issued a decree to discover exceptional child prodigies, eight-year-old Pei Yaoqing recited the Nine Classics from memory and expounded upon their philosophical principles, passing the Child Prodigy Examination. At age ten, he was formally confirmed in rank, creating a sensation in the eastern capital of Luoyang.

Reaching his majority, he began his career as Collator in the Palace Library. When Li Dan, Prince of Xiang (the future Emperor Ruizong), established his princely establishment, he recruited Pei Yaoqing as his confidential secretary. During his years in the princely mansion, Pei Yaoqing handled administrative matters with composure and discretion, earning the deep respect of the prince.

Following Emperor Ruizong's restoration in 710, Pei Yaoqing was elevated to Registrar in the Directorate of Education and Inspector in the Heir Apparent's Household. After Emperor Xuanzong ascended the throne, Pei Yaoqing served successively as Vice Director in the Bureau of Evaluations and the Bureau of the Right, later rising to Director in the Ministry of War in 719, earning universal acclaim within the central ministries for his administrative mastery.

Regional Governance and the Fengshan Admonition

During the middle Kaiyuan era, following years of diligent reform by Emperor Xuanzong, the Tang realm experienced unprecedented prosperity. In 725, seeking to proclaim imperial glory to the four quarters, Emperor Xuanzong resolved to perform the ancient fengshan pilgrimage at Mount Tai. Provincial officials along the imperial route competed to curry favor by levying extra taxes, erecting lavish traveling palaces, and procuring exotic wildlife and silk banners, inflicting severe hardship upon the peasantry.

Serving as Prefect of Jizhou, located directly along the route to Mount Tai, Pei Yaoqing watched farming communities facing ruin. Refusing to flatter the court, he submitted a blunt memorial directly to the emperor prior to the sovereign's arrival in Shandong, warning that sacred imperial sacrifices derived their virtue from common prosperity, and that if the ceremonies burdened the people with ruinous requisitions, the sacrifice could not be proclaimed successful.

Emperor Xuanzong was deeply shaken by the memorial. He immediately ordered the scale of imperial traveling provisions curtailed. At a grand banquet in Songzhou during the return march, the emperor remarked to Chancellor Zhang Yue that while other magistrates offered flattery or ascetic ostentation, Prefect Pei Yaoqing had provided an honest defense of the common people. Xuanzong announced that he had inscribed Pei Yaoqing's memorial beside his imperial seat as a personal admonition.

Pei Yaoqing was subsequently appointed Prefect of Xuanzhou and Jizhou, where he dredged irrigation canals and expedited judicial backlogs. Summoned to the capital in 729 as Vice Minister of Revenue and Magistrate of Chang'an, he enforced laws with absolute impartiality, disciplining imperial relatives and arrogant magnates, earning a reputation for pristine justice.

Revolutionizing the Grain Transport System

In the 730s, the Tang empire confronted a chronic structural crisis: the feeding of the imperial capital. While the Guanzhong basin was agriculturally fertile, its farmland could not sustain the hundreds of thousands of imperial guards, palace retainers, civil bureaucrats, and urban residents in Chang'an, making the regime dependent upon grain transported from the lower Yangtze and Huai basins. However, river logistics were thwarted by severe natural bottlenecks: flat-bottomed southern barges foundered when navigating the treacherous, silty Yellow River, causing hundreds of shipwrecks annually; more critically, the roaring cataracts and jagged reefs of Sanmen Gorge destroyed the majority of grain boats attempting the passage. Because imperial storehouses routinely emptied during regional droughts, Emperors Taizong, Gaozong, Wu Zetian, and Xuanzong had been forced on multiple occasions to migrate the entire court from Chang'an to Luoyang to avoid starvation, earning the humiliating popular moniker of "food-seeking emperors."

In 733, when drought struck Guanzhong once more, Emperor Xuanzong prepared to migrate to Luoyang. Pei Yaoqing submitted his landmark Strategic Memorial on Grain Transport, asserting that moving the court was a temporary palliative and that the grain crisis stemmed entirely from flawed logistics. He proposed replacing the chaotic direct-haul method with an integrated, staged sectional water-and-land transshipment system.

Appointed Transport Commissioner for Jianghuai and Henan, Pei Yaoqing surveyed the river corridors from the Bian to the Wei, creating an innovative four-stage logistic network: First, he constructed the Heyin Granary at the confluence of the Bian and Yellow rivers, allowing southern grain boats to unload their cargoes and return south immediately, sparing southern crews the peril of ascending the Yellow River; second, northern river boats accustomed to the Yellow River transported the grain upstream from Heyin to the Jijin Granary at Shanzhou; third, to bypass the lethal eighteen-li cataract of Sanmen Gorge, he constructed the Sanmen Granary on the western side of the gorge, opening an eighteen-li overland mountain road where horses and carts portaged the grain safely past the rocks; fourth, once past the cataracts, grain was loaded onto fresh river boats to sail smoothly up the Wei River into the Chang'an granaries.

This division of labor revolutionized transport efficiency: southern boats stayed out of the Yellow River, and northern boats stayed out of the Bian River. Within three years, the granary network stored seven million shi of grain and saved over three hundred thousand strings of cash. Granaries across the capital overflowed, permanently ending the embarrassment of imperial food migrations. When aides suggested presenting the saved three hundred thousand strings of cash to the emperor's private purse, Pei Yaoqing severely reprimanded them, ordering the entire sum disbursed as public stabilization funds to purchase market supplies at fair prices to aid local commerce.

Chancellorship and Honorable Integrity

In 734, Emperor Xuanzong elevated Pei Yaoqing to Joint Manager of Affairs with the Secretariat-Chancellery and Vice Director of the Chancellery, and in the seventh month promoted him to Palace Attendant. Pei Yaoqing formed an intimate political alliance with Chief Chancellor Zhang Jiuling. For three years, the two chancellors governed the empire with spotless integrity, purging venal officials, strictly enforcing meritocratic examinations, rebuffing irregular recommendations from royal favorites, and opposing unnecessary foreign military adventures. Their administration established the moral high-water mark of the Kaiyuan era.

However, as Emperor Xuanzong grew complacent in his later years, court sycophant Li Linfu gained the emperor's ear through flattery and alliances with imperial concubines. Seeking supreme ministerial power, Li Linfu exploited a minor legal intervention by Vice Director Yan Tingzhi on behalf of his ex-wife's new husband in 736 to fabricate accusations of factionalism against Zhang Jiuling and Pei Yaoqing. Reluctant to hear further direct criticism, Emperor Xuanzong dismissed both Zhang Jiuling and Pei Yaoqing from the chancellorship in the eleventh month of 736, assigning Pei Yaoqing to the titular office of Left Grand Councilor.

Even in semiretirement, Pei Yaoqing never ceased offering candid advice. In 737, when Prefect Yang Jun was sentenced to public corporal flogging in midsummer, Pei Yaoqing submitted a memorial arguing that public floggings disgraced high regional administrators, and that heavy beatings during the summer heat caused fatal infections, transforming imperial pardons into disguised executions. Moved by his humane reasoning, Emperor Xuanzong decreed the permanent abolition of midsummer floggings. In 740, when General Gai Jiayun dallied in the capital drinking and boasting of past victories against the Turgesh rather than assuming his frontier command against Tibet, Pei Yaoqing warned the throne that such arrogance invited catastrophe; his prediction was verified when Gai Jiayun suffered a crushing defeat shortly afterward.

In 742, Pei Yaoqing was appointed Left Vice Director of the Department of State Affairs. In 743, the great statesman passed away at his Chang'an residence at the age of sixty-three. Emperor Xuanzong suspended court audiences in deep grief, posthumously granting him the office of Grand Tutor to the Crown Prince and bestowing the posthumous name Wenxian.

Major Achievements

Designing the Staged Sectional Grain Transport System

Pei Yaoqing revolutionized medieval Chinese transport logistics by replacing hazardous direct waterborne hauling with the staged sectional transshipment system. Establishing the Heyin, Jijin, and Sanmen granaries while constructing an overland portage around the treacherous Sanmen Gorge, his system gathered seven million shi of grain in three years, permanently ending the humiliating practice of imperial food migrations.

Fearless Humanitarian Admonition at Mount Tai

Serving as Prefect of Jizhou in 725, Pei Yaoqing boldly resisted the wave of sycophantic court spending surrounding the Mount Tai pilgrimage, declaring that burdening the people invalidated sacred sacrifices. His memorial was inscribed beside the emperor's throne as an enduring imperial admonition.

Collaborative Statesmanship with Zhang Jiuling

Serving as Palace Attendant, he partnered with Zhang Jiuling to govern the empire, enforcing strict bureaucratic discipline, eliminating nepotism, and repelling border adventurism, maintaining the moral rectitude of the High Tang golden age.

Championing Judicial Mercy by Ending Midsummer Floggings

His intervention in the Yang Jun case established the humane judicial principle that corporal floggings be suspended during midsummer, preventing unnecessary fatalities and preserving administrative dignity.

Insightful Strategic Appraisal of Frontier Commanders

Demonstrating acute military foresight, he accurately predicted the operational defeat of arrogant commander Gai Jiayun against Tibet, exhibiting deep strategic insight into military command psychology.

Personal Relationships

  • Monarchs: Emperor Ruizong of Tang, Emperor Xuanzong of Tang
  • Family / Lineage: Pei Shouzhen, Pei Ziyu, Pei Fan, Pei Hong, Pei Zong, Pei Gao
  • Governing Partner: Zhang Jiuling
  • Court Adversaries: Li Linfu, Yan Tingzhi, Gai Jiayun

Historical Evaluation

Evaluations by Dynastic Historians

  • Emperor Xuanzong of Tang: "Prefect of Jizhou Pei Yaoqing submitted a memorial of several hundred words, observing that if the people are heavily burdened, the sacrifice cannot be called successful; We have placed his memorial beside Our seat to remind Ourselves, for this is true love for the people."
  • *Liu Xu et al., Old Book of Tang (Jiu Tang Shu, Appraisal)*: "Wei Zhigu, Lu Huaishen, Yuan Qianyao, Li Yuanhong, Du Xian, Han Xiu, and Pei Yaoqing all possessed formidable talents and occupied the chancellorship... Some expanded grain canals to enrich state revenues: these men established great deeds and are worthy of eternal praise."
  • *Ouyang Xiu and Song Qi, New Book of Tang (Xin Tang Shu, "Biography of Pei Yaoqing")*: "Pei Yaoqing's management of grain transport was meticulously planned; adapting to local geography, even across hundreds of bends of land and water, goods moved without impediment. In three years he accumulated seven million shi of grain and saved three hundred thousand strings of cash; in the history of Tang transport, none surpassed him."
  • *Zheng Rikui, Discourse on Grain Transport (Caoyi, Qing Dynasty)*: "Throughout the three hundred years of the Tang, only two men managed grain transport with true excellence: first Pei Yaoqing, and later Liu Yan; yet Liu Yan was in truth continuing and refining Pei Yaoqing's models."

Modern Historiographical Consensus

  • Modern Historical Consensus: Pei Yaoqing was a rare statesman who combined classical moral rectitude with exceptional economic and infrastructural mastery. Logistically, his sectional transshipment system resolved the tension between the westward political capital of Chang'an and the southern agricultural economic centers, formulating the enduring structural blueprint for medieval Chinese grain transit. Ethically, his resistance to imperial extravagance at Mount Tai, refusal to divert transport savings into private palace purses, and promotion of humane judicial sentencing embodied the highest ideals of Confucian statecraft.

Related Entries

  • Historical Events: Golden Age of Kaiyuan, Mount Tai Fengshan Pilgrimage, Kaiyuan Grain Transport Reform, Construction of the Sanmen Gorge Portage Road, Dismissal of Zhang Jiuling and Pei Yaoqing
  • Historical Figures: Li Longji, Zhang Jiuling, Li Linfu, Pei Shouzhen, Yan Tingzhi, Gai Jiayun, Liu Yan
  • Geographies and Infrastructures: Heyin Granary, Jijin Granary, Sanmen Granary, Taiyuan Granary, Sanmen Gorge, Bian River, Wei River

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Liu Xu et al., Old Book of Tang (Jiu Tang Shu), Volume 98, "Biographies 48: Biography of Pei Yaoqing"
  • Ouyang Xiu, Song Qi, et al., New Book of Tang (Xin Tang Shu), Volume 127, "Biographies 52: Biography of Pei Yaoqing"
  • Du You, Comprehensive Canons (Tongdian), Volume 10, "Food and Money 10: Grain Transport"