Biography
Orphaned Scion of an Eminent Clan and the Dream at Mount Hua
Pei Ji, courtesy name Xuanzhen, was a native of Sangquan County, Puzhou (modern Linyi County, Yuncheng, Shanxi Province), descending from the Western Branch of the Hedong Pei clan. His great-great-grandfather Pei Hui served as Director of the Palace Library under the Northern Wei, his great-grandfather Pei Tao served as Left Assistant Director of the Department of State Affairs and Prefect of Jizhou, his grandfather Pei Rong served as Area Commander-in-Chief of the Yizhou Expeditionary Force under the Northern Zhou, and his father Pei Yu served as Censor-in-Chief and General of Fast Cavalry under the Northern Zhou. Orphaned in early childhood, Pei Ji was raised by his elder brothers. Growing into a tall and handsome youth with well-defined features, he was appointed Registrar of Puzhou at the age of fourteen.
During the Kaihuang era of Emperor Wen of Sui, Pei Ji entered the capital as a Left Personal Guard. Impoverished at the time, he often walked on foot to Chang'an (Daxing City) for duty. Passing the Temple of Mount Hua, he prayed earnestly before the mountain deity: "Impoverished as I am, I bow in sincerity; if there is hope of future wealth and honor, pray grant me an auspicious dream to reveal my destiny." That night Pei Ji dreamed of a white-haired old man who told him, "Only after passing the age of forty will you achieve your ambitions, and in the end you will reach the highest rank of a subject." He was later appointed Revenue Manager of Qizhou (modern Jinan, Shandong Province). During the Daye era of Emperor Yang of Sui, Pei Ji served successively as Attending Censor, Aide in the Bureau of Carriages, and Deputy Director of the Jinyang Palace in Taiyuan, where he oversaw the palace women, parks, granaries, and armories of the northern secondary palace.
Plotting at Jinyang and Supplying the Uprising
In the twelfth year of the Daye era (616), Li Yuan, Duke of Tang, was appointed Garrison Regent of Taiyuan. Having been an old acquaintance of Pei Ji, Li Yuan treated him with exceptional warmth, inviting him to feast and play board games day and night without tiring. In the spring of the thirteenth year of the Daye era (617), as rebellions swept the Sui Empire, Li Yuan's second son Li Shimin and Magistrate of Jinyang Liu Wenjing secretly planned to raise troops against Sui rule, but hesitated to speak frankly to the cautious Li Yuan. Seeing how deeply Li Yuan trusted Pei Ji, Li Shimin provided several million cash from his private funds to Magistrate of Longshan Gao Binlian, who deliberately lost the money to Pei Ji in gambling matches over several days. Delighted by his winnings, Pei Ji accompanied Li Shimin daily; when Li Shimin revealed the plot to rebel, Pei Ji immediately agreed to join.
Soon afterward, when Liu Wenjing was imprisoned in Taiyuan due to his marriage ties with the rebel leader Li Mi, Li Shimin and Liu Wenjing arranged for Pei Ji to force Li Yuan's hand. Selecting several beautiful women from the Jinyang Palace, Pei Ji sent them to attend Li Yuan in his bedchamber after a drinking banquet. When Li Yuan sobered up the next day, Pei Ji told him: "Your second son has been secretly recruiting troops and horses to raise the banner of righteousness, precisely because I privately presented imperial palace women to serve Your Excellency and feared that if the matter leaked out we would all be executed! Today the empire is in chaos, and outside the city gates everywhere are bandits. If we cling to petty scruples, death awaits us morning or evening; if we raise righteous troops, we will surely win the imperial throne. Public sentiment is already united—what is Your Excellency's wish?" Li Yuan replied, "My son truly had this plan; since it is already decided, let us follow it!"
In the fifth month of the thirteenth year of the Daye era (617), Li Yuan formally launched the Jinyang Uprising and executed the Sui deputy regents Wang Wei and Gao Junya. Opening the storehouses of the Jinyang Palace, Pei Ji presented five hundred palace women along with ninety thousand hu of grain, fifty thousand bolts ofpatterned silk, and forty thousand suits of armor to equip the army. When Li Yuan established the Grand General's Headquarters in the sixth month, he appointed Pei Ji as Chief Administrator (zhangshi) and enfeoffed him as Duke of Wenxi County.
In the seventh month, Pei Ji accompanied Li Yuan's army south to Hedong Commandery (modern Yongji, Shanxi Province), where the Sui general Qutu Tong defended the city stubbornly while thousands of men from the Guanzhong region rallied daily to Li Yuan's banner. When Li Yuan hesitated over whether to bypass Hedong and cross the Yellow River directly toward Chang'an, Pei Ji advised: "Qutu Tong holds Puguan; if we do not subdue him first, we will face the defenders of the capital in front and Qutu Tong's relief force behind—a path to certain defeat. It is better to capture Puzhou first and then enter the passes." Li Shimin, by contrast, argued that military success lay in speed and urged an immediate crossing. Adopting both counsels, Li Yuan left a detachment to besiege Hedong while leading the main army across the Yellow River into Guanzhong. After capturing Chang'an in the eleventh month and installing Yang You as Emperor Gong of Sui, Li Yuan became Grand Chancellor and Prince of Tang, appointing Pei Ji as Chief Administrator of the Grand Chancellor's Office, advancing him to Duke of Wei State with a fief of three thousand households, and rewarding him with a thousand qing of fertile land, a grand mansion, and forty thousand bolts of silk.
Urging the Founding of Tang and the Rout at Dusuo Plain
In the fifth month of the second year of the Yining era (618), when news arrived that Emperor Yang of Sui had been assassinated by Yuwen Huaji in Jiangdu, Emperor Gong of Sui issued an edict abdicating the throne to Li Yuan. When Li Yuan repeatedly declined both the edict and the joint memorials of the officials, Pei Ji requested a private audience and said: "When Jie of Xia and Zhou of Shang perished, each had sons of his own, yet one never heard of Tang of Shang or Wu of Zhou serving as their ministers—this is a clear mirror beyond all doubt! Moreover, my fief and high office were all received from Tang; if Your Majesty will not become Emperor of Tang, your servant must resign his office!" He also presented more than ten auspicious prophecies, persuading Li Yuan to consent. Leaving the hall, Pei Ji ordered the Court of Imperial Sacrifices to prepare the abdication rites.
On the Jiazi day of the fifth month of the first year of the Wude era (June 18, 618), Li Yuan ascended the throne in the Taiji Hall as Emperor Gaozu of Tang. Declaring to Pei Ji, "That I have reached this position is entirely through your strength," Emperor Gaozu appointed him Right Executive of the Department of State Affairs (shangshu you puye), making him the first Grand Councilor of the Tang dynasty. Bestowing countless robes and treasures upon him, Gaozu ordered the Palace Food Service to send imperial meals daily to Pei Ji's residence. Whenever Gaozu held court, he invited Pei Ji to sit beside him on the dais; when he retired to the inner apartments, he summoned Pei Ji into his bedchamber for counsel, addressing him respectfully as "Director Pei" (Pei Jian) rather than by his personal name.
In the autumn of the second year of the Wude era (619), the northern warlord Liu Wuzhou sent his generals Huang Ziying and Song Jingang south against Taiyuan, defeating and capturing Tang commanders Jiang Baoyi and Li Zhongwen and prompting Prince of Qi Li Yuanji to abandon Taiyuan. Volunteering to take command, Pei Ji was appointed Area Commander-in-Chief of the Jinzhou Expeditionary Force with full discretionary authority. In the ninth month, Pei Ji advanced to Jiexiu (modern Jiexiu, Shanxi Province), where Song Jingang held the city, and encamped on Dusuo Plain at the foot of Mount Jie. Because the camp lacked water and relied on a single mountain stream, Song Jingang cut off the watercourse. When Pei Ji attempted to shift his parched troops toward water, Song Jingang launched a full-scale assault as the Tang formations moved, annihilating Pei Ji's army. Riding for a day and night without stopping, Pei Ji fled back to Jinzhou (modern Linfen, Shanxi Province) while all towns east of Jinzhou fell and Song Jingang advanced on Jiangzhou.
When Pei Ji submitted a memorial apologizing for his defeat, Emperor Gaozu consoled him and ordered him to remain in charge of Hedong. In the tenth month, as Song Jingang captured Huizhou (modern Yicheng County, Shanxi Province), the timid and militarily inept Pei Ji panicked, ordering the residents of Yuzhou and Taizhou herded into fortified stockades while burning all their stored grain in the countryside. Driven to desperation, the populace rose in revolt; Lü Chongmao of Xia County killed his magistrate, declared for Liu Wuzhou, and routed the troops Pei Ji led against him. Recalling Pei Ji to Chang'an, Gaozu rebuked him: "At the start of our righteous uprising you rendered founding merit, and your rank and title reached the summit; yet in resisting Liu Wuzhou with forces sufficient to crush the enemy, you suffered such a defeat—are you not ashamed before Me?" Though briefly handed over to judicial officials, Pei Ji was released within days and treated with even greater favor, serving as Regent of Chang'an whenever Gaozu went on imperial tours.
Slandering Liu Wenjing and Elevation to Minister of Works
Both Pei Ji and Liu Wenjing had been core planners of the Jinyang Uprising, yet Liu Wenjing far surpassed Pei Ji in strategic and military ability. After the founding of the Tang, Pei Ji sat beside the emperor as Right Executive of the Department of State Affairs while Liu Wenjing served in the lower post of Director of the Chancellery (nayan). Resentful of Pei Ji's precedence, Liu Wenjing clashed with him in court debates and once, while drunk, drew his sword to hack a pillar in his hall, crying out that he would cut off Pei Ji's head. When a disfavored concubine had her brother report Liu Wenjing's words as treason, Emperor Gaozu ordered Pei Ji and Xiao Yu to interrogate him.
Although Liu Wenjing defended himself and Xiao Yu, Li Gang, and Li Shimin all vouched that Liu Wenjing had merely vented drunken frustration without treasonous intent, Pei Ji warned Emperor Gaozu: "Liu Wenjing's talent and strategy truly surpass all others, yet his nature is suspicious, sinister, and reckless in anger, and his perverse words have now come to light. Today the empire is not yet settled and powerful enemies surround us; if you pardon Liu Wenjing, he will surely leave a grave threat for the future!" Already suspicious of Liu Wenjing, Gaozu accepted Pei Ji's counsel and had Liu Wenjing executed in the ninth month of 619.
In the fourth year of the Wude era (621), when Prefect of Linzhou Wei Yunqi accused Pei Ji of treason, an investigation found no evidence. Reassuring Pei Ji that "My possession of the empire was originally brought about by you—how could you harbor duplicity today?" Gaozu sent three Imperial Consorts bearing royal delicacies and treasures to feast at Pei Ji's mansion overnight; that same year, when the court minted the new Kaiyuan Tongbao coinage, Gaozu granted Pei Ji a furnace to mint coins privately, married Pei Ji's daughter to his sixth son Li Yuanjing (Prince of Zhao), and married his sixteenth daughter Princess Linhai to Pei Ji's son Pei Lüshi. Promoted to Left Executive of the Department of State Affairs in the fourth month of the sixth year of the Wude era (623), Pei Ji asked at a banquet in the Hanzhang Hall to retire as promised at the time of the Taiyuan Uprising; weeping, Gaozu replied, "Not yet! We must grow old together—you as chief minister and I as Retired Emperor!" In the first month of the ninth year of the Wude era (626), Gaozu appointed Pei Ji as Minister of Works (sikong), granted him a real fief of five hundred households, and ordered a Vice Director from the Department of State Affairs to attend at Pei Ji's mansion daily.
Disgrace in the Zhenguan Era and Death in Jingzhou
Following the Xuanwu Gate Incident in the sixth month of 626 and Li Shimin's accession as Emperor Taizong in the eighth month, Taizong initially honored Pei Ji out of respect for the Retired Emperor, increasing his real fief to 1,500 households in 627 and inviting Pei Ji and Zhangsun Wuji to ride together in the imperial carriage when returning from the southern suburban sacrifice in 628, remarking, "Because you have the merit of assisting the Mandate and Wuji has also labored for Me, who else should share My carriage?"
In the spring of the third year of the Zhenguan era (629), however, the monk Faya was arrested for seditious prophecies, and his testimony implicated Pei Ji for having heard his words without reporting them. Emperor Taizong dismissed Pei Ji from his post as Minister of Works, reduced his fief by half, and ordered him to retire to his hometown in Puzhou. When Pei Ji petitioned to remain in Chang'an, Taizong sharply rebuked him: "Measured by your actual merit, you never deserved to reach this rank; it was solely through imperial favor that you occupied the first place. During the Wude era, administrative and penal affairs were riddled with errors and officialdom fell into laxity—the responsibility was yours! Out of regard for old ties I spared you the extreme penalty and let you return to sweep your ancestral graves—why do you hesitate to depart?"
After Pei Ji returned to Puzhou, a madman named Xinxing living in Fenyin County (modern Wanrong County, Shanxi Province) repeatedly told Pei Ji's household servants that "Duke Pei possesses the mandate of Heaven." After Xinxing died, Pei Ji's estate manager Gongming reported these words to Pei Ji. Terrified and afraid to report the matter to the court, Pei Ji secretly ordered Gongming to murder the servant who had heard Xinxing's words to silence him; Gongming privately spared the servant and let him flee. Later, when Pei Ji pursued Gongming for embezzling estate funds, Gongming traveled to Chang'an and denounced Pei Ji to the throne. Outraged, Emperor Taizong enumerated four capital crimes committed by Pei Ji: associating with the seditious monk Faya while serving among the Three Excellencies; complaining after his dismissal that the rise of the dynasty was entirely his own plan; concealing Xinxing's treasonous prophecy; and attempting murder to silence a witness. Sparing his life despite ministerial calls for execution, Taizong banished Pei Ji to Jingzhou (modern Wangcang County, Guangyuan, Sichuan Province).
Shortly afterward, when local mountain Qiang tribes in Jingzhou rose in rebellion and rumors reached court that the rebels had seized Pei Ji as their leader, Emperor Taizong declared firmly: "The state has spared Pei Ji's life—he would certainly never do such a thing!" Word soon arrived that Pei Ji had personally led his household retainers to attack and rout the Qiang rebels. Remembering his founding merit, Taizong issued an edict in the sixth year of the Zhenguan era (632) recalling Pei Ji to court, but Pei Ji had already died of illness in Jingzhou at the age of sixty. He was buried seventeen li northeast of Linjin County in Puzhou and posthumously honored as Prefect of Xiangzhou, Minister of Works, and Commandery Duke of Hedong. In 668, 779, and 780 he was repeatedly ranked among the first-class founding ministers of the Tang, and in the second year of the Dazhong era (848) under Emperor Xuanzong, his portrait was added to the Lingyan Pavilion.