Biography
Orphan of a Distinguished Clan and Early Official Career
Pei Guangting, courtesy name Liancheng, was a native of Wenxi County, Jiangzhou (modern Wenxi County, Yuncheng, Shanxi Province), belonging to the prestigious Central Branch of the Hedong Pei clan. His father Pei Xingjian was one of the foremost civil and military statesmen of Emperor Gaozong's reign, renowned for pacifying the Western Turks, defeating the Eastern Turks, establishing the "Long Roster of Names" (Changming Bang) in the Ministry of Personnel, and rising to Minister of Rites, General-in-Chief of the Right Guard, and Duke of Wenxi County. After the death of his first wife Lady Lu of Henan, Pei Xingjian married Lady Kudi, Lady of Huayang Commandery, who gave birth to Pei Guangting. When Pei Xingjian died in the first year of the Yongchun era (682), Pei Guangting was only seven years old and was raised by his mother.
During the reign of Wu Zetian, Lady Kudi—celebrated for her womanly virtue and literary talent worthy of Ban Zhao and Zuo Fen—was summoned into the imperial palace and appointed Palace Rectifier (yuzheng), enjoying deep imperial favor and later receiving the title Grand Lady of Jin State. Through his family privilege and his mother's favor, Pei Guangting was enrolled in youth as a student in the Hongwen Institute, passed the Classics examination (mingjing) in the first year of the Shenlong era (705), and served first as Assistant in the Household Administration of the Crown Prince and then as Assistant Minister of the Court of Imperial Sacrifices, marrying the daughter of Wu Zetian's nephew Wu Sansi, Prince of Liang. In the Jingyun era (710) under Emperor Ruizong, following the fall of Empress Wei and the Wu consort faction, Pei Guangting was implicated as Wu Sansi's son-in-law and demoted to Marshal of Yingzhou (modern Zhongxiang, Hubei Province), though he was soon restored to his former post.
At the beginning of the Kaiyuan era under Emperor Xuanzong (Li Longji), Pei Guangting received six promotions, serving as General of the Gentlemen of the Household of the Crown Prince's Right Guard Command, Director of the Bureau of the Gate (simen langzhong) in the Ministry of Justice, and a year later Director of the Ministry of War Bureau (bingbu langzhong). Quiet and reserved by nature, Pei Guangting rarely engaged in social networking, so contemporaries initially underestimated him when he entered prestigious bureau posts; once in office, however, his thoroughness, clarity of judgment, and orderly handling of official business won widespread admiration across the court.
Strategic Counsel on the Mount Tai Feng-Shan Sacrifices and Appointment as Grand Councilor
In the autumn of the thirteenth year of the Kaiyuan era (725), Emperor Xuanzong prepared to travel east to Mount Tai to perform the grand Feng and Shan sacrifices. Concerned that the imperial progress would leave the capital Chang'an and the northern frontier vulnerable to raids by the Eastern Turks, Secretariat Director Zhang Yue proposed mobilizing additional troops to reinforce the northern border and summoned War Bureau Director Pei Guangting to deliberate on military preparations. Pei Guangting opposed the troop mobilization, arguing: "The Feng and Shan sacrifices are performed to proclaim the completion of great peace and success to Heaven and Earth. True success means that imperial grace reaches everywhere, the common people live in security, and the ten thousand states cherish our virtue. If we proclaim great peace while fearing barbarian raids, how can imperial virtue be made manifest? Mobilizing corvée labor and border troops to guard against emergencies neither calms the people nor wins the hearts of distant lands at a moment of universal assembly—thus name and reality would contradict one another! Among the foreign states, the Turks are the most powerful and have repeatedly sent envoys with tribute in recent years seeking amity. If we send a single envoy to summon their chief ministers to attend the Mount Tai assembly, they will gladly obey; once the Turks accept the edict, the rulers of all other foreign states will follow in turn. Then even if we lay down our banners and silence our drums, we may rest in complete security."
Delighted, Zhang Yue exclaimed, "Excellent! That is beyond what I could have conceived!" Adopting the plan, the court dispatched an envoy to the Second Turkic Khaganate, whose Bilge Qaghan duly sent high ministers to join the imperial retinue at Mount Tai alongside envoys from dozens of states. For this counsel Pei Guangting was promoted to Vice Minister of the Court of State Ceremonial (honglu shaoqing), overseeing foreign envoys during the eastern tour; upon returning to Chang'an in the fourteenth year of the Kaiyuan era (726), he was promoted to Vice Minister of War.
In the sixth month of the seventeenth year of the Kaiyuan era (729), Emperor Xuanzong appointed Pei Guangting as Vice Director of the Secretariat (zhongshu shilang) and Joint Manager of Affairs with the Secretariat-Chancellery (tong zhongshu menxia pingzhangshi, Grand Councilor), soon adding the post of Censor-in-Chief (yushi dafu) and transferring him to Vice Director of the Chancellery (huangmen shilang). At that time the fiscal minister Yuwen Rong had just been dismissed as Grand Councilor and sent out as Prefect of Ruzhou. Finding state revenues running short, Emperor Xuanzong missed Yuwen Rong's fiscal exactions and asked Pei Guangting and his fellow councilors: "You all spoke of Yuwen Rong's wickedness, and I have dismissed him; now state funds are insufficient—what is to be done, and how will you assist me?" Unable to answer at court, Pei Guangting feared that Emperor Xuanzong was about to recall Yuwen Rong; using his authority as Censor-in-Chief, he impeached Yuwen Rong for forming factional cliques and his son for accepting bribes, resulting in Yuwen Rong's banishment to County Defender of Pingle in Zhaozhou (modern Pingle County, Guangxi).
Promotion to Director of the Chancellery and Advocating Classical Books for Tibet
In the spring of the eighteenth year of the Kaiyuan era (730), after accompanying Emperor Xuanzong on a tour of the five imperial mausoleums in Guanzhong, Pei Guangting was promoted to Director of the Chancellery (shizhong), concurrently serving as Minister of Personnel (libu shangshu) and Academician of the Hongwen Institute. Seeking to admonish Crown Prince Li Ying and the imperial princes to uphold filial and fraternal duty, Pei Guangting compiled and presented two works of historical exemplars, Past Precepts of Mount Yao (Yaoshan Wangze, 1 scroll) and Former Models of the Bastion (Weicheng Qiangui, 1 scroll). Emperor Xuanzong praised him in a handwritten edict, rewarded him with five hundred bolts of silk, and ordered the Crown Prince and imperial princes to meet Pei Guangting at Guangshun Gate to honor his admonition. Pei Guangting also recruited Li Rong, Zhang Qi, and Sima Libin into the Hongwen Institute to compile a Continuation of the Spring and Autumn Annals and Zuo Commentary (Xu Chunqiu Jingzhuan), petitioning Emperor Xuanzong to author the "Classic" (jing) while Pei and his scholars wrote the "Commentary" (zhuan), though Li Rong never completed the draft.
In the nineteenth year of the Kaiyuan era (731), following a peace settlement between Tang and the Tibetan Empire, Tibetan envoys arrived at Chang'an bearing requests in the name of Princess Jincheng for copies of the Mao Book of Songs (Maoshi), Spring and Autumn Annals (Chunqiu), and Book of Rites (Liji). Proofreader in the Palace Library Yu Xiulie submitted a memorial strongly opposing the request, arguing that during the Western Han dynasty Emperor Cheng had refused to grant the Records of the Grand Historian and philosophical texts even to his own brother Prince Liu Yu of Dongping, and warning that giving the Classics to a hostile rival like Tibet would teach them military stratagems and deception to the detriment of China. When Emperor Xuanzong referred the matter to the Secretariat-Chancellery, Pei Guangting memorialized in reply: "The Tibetans have long been benighted and stubborn, and having rebelled for years, they have only recently submitted. We should seize upon their request to bestow the Songs and Documents upon them, so that they may gradually be steeped in the civilizing influence of our moral instruction and our transformation may flow beyond all borders. Yu Xiulie sees only that books contain words of stratagem and deception, failing to realize that loyalty, trustworthiness, ritual propriety, and righteousness all come from these books!" Emperor Xuanzong agreed and ordered the classical texts bestowed upon Tibet.
Instituting the "Seniority Qualification System" and Posthumous Honors
During his tenure as Director of the Chancellery and Minister of Personnel, Pei Guangting's most enduring institutional measure was the creation of the "Seniority Qualification System" (Xun Zige) in the eighteenth year of the Kaiyuan era (730). Previously, in selecting and appointing civil officials of the sixth rank and below, the Ministry of Personnel had judged candidates primarily by personal ability: men of conspicuous talent were promoted out of turn, whereas ordinary candidates or those without patronage languished in low positions for decades—some holding examination degrees for over twenty years without receiving a salaried post—while prefectural and county assignments lacked graded order. Pei Guangting instituted the Xun Zige regulations: candidates were grouped strictly according to the number of selection cycles (xuan) elapsed since leaving their previous post, with higher-ranking former officials requiring fewer cycles and lower-ranking officials requiring more; once the prescribed tenure and waiting cycles were fulfilled, candidates were appointed automatically step by step regardless of exceptional talent, and all who had committed no offense advanced without demotion.
Because the Xun Zige strictly limited tenure and rank progression, mediocre and long-stagnant officials rejoiced and hailed the regulations as the "Sacred Book" (Shengshu), whereas ambitious men of talent lamented being held back by seniority rules, and even the veteran statesman Song Jing protested in vain. While heading the Ministry of Personnel, Pei Guangting entrusted day-to-day selection decisions to his confidant Yan Linzhi, Administrative Clerk of the Chancellery; whatever Yan Linzhi decided, Pei Guangting immediately signed into effect, giving rise to the contemporary saying, "Linzhi's mouth, Guangting's hand."
In the seventh month of the twentieth year of the Kaiyuan era (732), Emperor Xuanzong ordered Pei Guangting and Secretariat Director Xiao Song to share command of the Left and Right Flank Armies of the Southern Garrison. In the eleventh month, Pei Guangting accompanied the emperor to Fenyin to sacrifice to Sovereign Earth, receiving the prestige title Grand Master for Splendid Happiness and the noble title Founding Baron of Zhengping County. In the third month of the twenty-first year of the Kaiyuan era (733), Pei Guangting died of illness at the age of fifty-eight. Emperor Xuanzong suspended court for three days and posthumously awarded him the title Grand Preceptor. When Erudite of the Court of Imperial Sacrifices Sun Wan proposed the critical posthumous name "Ke" ("Rigid/Harsh") on the grounds that Pei Guangting's Xun Zige system had stifled talent, Emperor Xuanzong issued a special edict overruling the proposal, bestowed the posthumous name "Zhongxian" ("Loyal and Wise"), and ordered Secretariat Director Zhang Jiuling to compose his spirit-way stele inscription. Immediately after Pei Guangting's death, his rival Grand Councilor Xiao Song petitioned to abolish the Xun Zige and reassigned all officials promoted by Pei Guangting to provincial posts.
Key Achievements
Diplomatic Counsel During the Mount Tai Feng-Shan Sacrifices
Pei Guangting's strategic counsel prior to Emperor Xuanzong's Feng and Shan sacrifices at Mount Tai in the thirteenth year of the Kaiyuan era (725) reflected the frontier diplomatic foresight he inherited from his father Pei Xingjian. When Secretariat Director Zhang Yue feared that the eastern imperial progress would invite a northern incursion by the Second Turkic Khaganate and proposed a massive troop mobilization along the northern frontier, Pei Guangting pointed out that raising corvée labor and border armies during a ceremony proclaiming universal peace would burden the populace and betray weakness to foreign peoples.
Correctly reading Bilge Qaghan's desire for peaceful trade and amity, Pei Guangting proposed sending a single envoy to invite high Turkic ministers to join the imperial progress to Mount Tai. Executed on Zhang Yue's recommendation, this diplomatic stroke brought Turkic dignitaries and envoys from dozens of neighboring states to Mount Tai without the expense of a frontier mobilization, securing the northern border and showcasing the cosmopolitan prestige of the Kaiyuan era.
Championing Cultural Exchange by Granting Confucian Classics to Tibet
In the court debate of the nineteenth year of the Kaiyuan era (731) over Princess Jincheng's request for copies of the Book of Songs, Spring and Autumn Annals, and Book of Rites for the Tibetan court, Pei Guangting articulated a confident vision of cultural statecraft. Against Proofreader Yu Xiulie's fear that the Confucian Classics would teach military cunning to a rival state, Pei Guangting argued that the true foundation of the Classics lay in loyalty, trustworthiness, ritual propriety, and righteousness, and that disseminating classical learning to Tibet would foster peace and shared ethical norms across the frontier. Emperor Xuanzong's approval of Pei Guangting's memorial facilitated the transmission of classical Chinese texts to the Tibetan Plateau during the eighth century.
Establishing the "Seniority Qualification System" (Xun Zige) in Civil Selection
The "Seniority Qualification System" (Xun Zige) instituted by Pei Guangting in 730 while serving as Director of the Chancellery and Minister of Personnel marked a watershed in the history of the Chinese civil service. By the mid-Kaiyuan era, the rapid expansion of examination graduates and hereditary privilege holders brought over ten thousand candidates annually to the Ministry of Personnel; unbridled examiner discretion invited favoritism while leaving thousands of unaligned lower officials without posts for decades.
Building upon his father Pei Xingjian's earlier "Long Roster" reforms, Pei Guangting established objective rules tying reappointment and promotion strictly to the number of completed waiting cycles (xuan) and service evaluations. Although criticized by contemporaries such as Song Jing and Sun Wan and later scholars such as Gu Yanwu and Liang Qichao for stifling extraordinary talent and encouraging bureaucratic mediocrity—and formally repealed at Xiao Song's urging after Pei's death—its core principle of graded promotion by seniority endured in practice throughout the late Tang, Song, Ming, and Qing dynasties. Eleven of Pei Guangting's memorials and state papers are preserved in Complete Prose of the Tang (Quan Tang Wen), Vol. 297.