619 CE–682 CE

Military strategiststatesmanand calligrapher of the Tang dynasty

Pei Xingjian

裴行俭

Pei Xingjian (619–June 9, 682), courtesy name Shouyue, was a native of Wenxi County in Jiangzhou, northeast of present-day Wenxi County, Shanxi. He was an early Tang military strategist, statesman, and calligrapher, and the second son of the Sui official Pei Renji. Born into the central branch of the Hedong Pei clan, he passed the Mingjing examination during the reign of Emperor Taizong and learned military strategy from the…

619 CE–682 CETang Dynasty

PROFILE

Pei Xingjian (619–June 9, 682), courtesy name Shouyue, was a native of Wenxi County in Jiangzhou, northeast of present-day Wenxi County, Shanxi. He was an early Tang military strategist, statesman, and calligrapher, and the second son of the Sui official Pei Renji. Born into the central branch of the Hedong Pei clan, he passed the Mingjing examination during the reign of Emperor Taizong and learned military strategy from the famous general Su Dingfang. He successively served as an administrative officer of the Left Garrison Guard, chief secretary of the Xizhou Area Command, and Protector-General of Anxi. During his service in the Western Regions, many states were said to have submitted out of admiration for his rule. After returning to court, he became Vice Minister of Personnel and, together with Li Jingxuan and Ma Zai, administered official selection for more than ten years, earning a strong reputation for competence. He devised procedures including long-name rosters and appointment notation that influenced later systems of official selection. In 676, the third year of the Shangyuan era, he served as commander of forces on the Taozhou and Qinzhou fronts against Tibet. In 679, the first year of the Tiaolu era, he captured by stratagem Ashina Duzhi, a rebellious khan of the Western Turkic Ten Tribes, and was promoted to Minister of Rites while concurrently acting as General of the Right Guard. The following year he defeated the forces of Ashide Wenfu and Ashina Funian and pacified the remaining Eastern Turkic rebels. In 682, the first year of the Yongchun era, when the Ten-Tribes claimant Ashina Chebo rebelled, Emperor Gaozong appointed Pei commander of the Jinya Circuit. Pei died before the army departed, at the age of sixty-four.

Period
Tang
Dynasty / Regime
Tang
Identity
Military strategist, statesman, and calligrapher of the Tang dynasty
Ethnicity / Group
Not reliably confirmed in existing sources
Native Place
Wenxi County, Jiangzhou (northeast of present-day Wenxi County, Shanxi)
Date of Birth
619
Place of Birth
Wenxi County, Jiangzhou (northeast of present-day Wenxi, Shanxi)
Date of Death
June 9, 682
Place of Death
Place of death unknown
Highest Office
See Biography and Major Activities

LIFE TIMELINE

Born | Born in Wenxi County, Jiangzhou, northeast of present-day WenxiOpen

Born | Born in Wenxi County, Jiangzhou, northeast of present-day Wenxi, Shanxi

About his twenties | Passed the Mingjing examination, became an adminiOpen

About his twenties | Passed the Mingjing examination, became an administrative officer of the Left Garrison Guard, and received instruction in military strategy from Su Dingfang

About his thirties | Transferred to serve as magistrate of Chang'an CoOpen

About his thirties | Transferred to serve as magistrate of Chang'an County

Age thirty-six | Demoted to chief secretary of the Xizhou Area CommandOpen

Age thirty-six | Demoted to chief secretary of the Xizhou Area Command after opposing the elevation of Consort Wu to empress

Age forty-six | Promoted to Protector-General of Anxi; states of the WOpen

Age forty-six | Promoted to Protector-General of Anxi; states of the Western Regions were said to have submitted to Tang rule

Age forty-seven | Recalled as Vice Director of the Court of Imperial SOpen

Age forty-seven | Recalled as Vice Director of the Court of Imperial Sacrifices and later became Vice Minister of Personnel; devised procedures including the long-name roster and appointment notation

Age fifty-seven | Served as commander of the Left Second Army of the TOpen

Age fifty-seven | Served as commander of the Left Second Army of the Taozhou Circuit and later the Right Army of the Qinzhou Circuit in defense against Tibet

Age sixty | Captured Western Turkic khan Ashina Duzhi by stratagem; prOpen

Age sixty | Captured Western Turkic khan Ashina Duzhi by stratagem; promoted to Minister of Rites and acting General of the Right Guard; later appointed Grand Commander of the Dingxiang Circuit to suppress an Eastern Turkic rebellion

Age sixty-one | Used a strategy of sowing distrust to induce Ashina FuOpen

Age sixty-one | Used a strategy of sowing distrust to induce Ashina Funian to seize Ashide Wenfu and surrender, thereby pacifying the remaining Eastern Turkic forces; enfeoffed as Duke of Wenxi County

Age sixty-four | Appointed Grand Commander of the Jinya Circuit to preOpen

Age sixty-four | Appointed Grand Commander of the Jinya Circuit to prepare an expedition against the rebellion of Chebo; died at his residence in Yanshou Ward, Chang'an, on the twenty-eighth day of the fourth lunar month before setting out

BIOGRAPHY

Biography

Family Background and Early Years

Pei Xingjian came from the central branch of the Hedong Pei clan, one of its recognized major lines. His great-grandfather Pei Bofeng served Northern Zhou as General of Agile Cavalry and Inspector of Fenzhou and held the title Duke of Langya Commandery. His grandfather Pei Dinggao served Northern Zhou as Administrator of Fengyi Commandery and inherited the title Duke of Langya. His father Pei Renji rose under the Sui to Grand Master of Splendid Happiness. His elder brother Pei Xingyan was a formidable warrior at the end of the Sui. During the late-Sui disorders, Pei Renji and Pei Xingyan first joined Li Mi's Wagang army and later submitted to Wang Shichong; both were killed after a plot to defect to Tang was exposed. Under Emperor Gaozu of Tang, Pei Renji was posthumously made Commander of Yuanzhou and given the posthumous name Zhong. Pei Xingjian was born after his father's death.

As a youth, Pei entered the Hongwen Academy on the strength of his family's service. During the middle of the Zhenguan era under Emperor Taizong, he passed the Mingjing examination and was appointed an administrative officer of the Left Garrison Guard. The celebrated general Su Dingfang, then serving in the guard, told him that his military methods had found no suitable disciple until Pei, and transmitted his military knowledge to him. This relationship profoundly shaped Pei's later career as a commander. Pei later became magistrate of Chang'an County and demonstrated administrative ability in local government.

Demotion over the Empress Question and Service in the Western Regions

In 655, the sixth year of the Yonghui era, Emperor Gaozong intended to depose Empress Wang and elevate Consort Wu, later Wu Zetian, as empress. Pei believed the decision would bring grave danger to the state and secretly discussed opposition with the senior regents Zhangsun Wuji and Chu Suiliang. Yuan Gongyu, head of the Court of Judicial Review, disclosed the discussions to Consort Wu's mother, Lady Yang. Pei was consequently demoted to chief secretary of the Xizhou Area Command. Xizhou, in the Turpan region of modern Xinjiang, was a major Tang frontier center. His years there gave him substantial experience in frontier administration and relations with non-Han peoples.

In 665, the second year of the Linde era, Pei was promoted to Protector-General of Anxi. The Protectorate of Anxi governed a broad area of the Western Regions from its seat at Kucha. Pei's administration was described as lenient, and the states of the region were said to have admired Tang rule and submitted. His experience in the west gave him detailed knowledge of the Turks and other peoples of the region and later became an important basis for his campaigns.

Administration of Official Selection

Pei was later recalled to the central government as Vice Director of the Court of Imperial Sacrifices and then became Vice Minister of Personnel. The Ministry of Personnel administered appointments throughout the empire. Pei worked with Li Jingxuan and Ma Zai in official selection for more than ten years, and their competence won them the paired reputations “Pei and Li” and “Pei and Ma.” As long peace produced increasing numbers of qualified candidates, the selection process became extremely complex. Pei devised procedures such as the long-name roster and appointment notation to regularize appointments. He also established standards for promotion and demotion of prefectural and county officials and for weighing seniority. These procedures were adopted by later administrations and became an important part of Tang official-selection practice.

Pei was also known for recognizing talent. On meeting the literary figures Luo Binwang, Lu Zhaolin, Wang Bo, and Yang Jiong, he judged that Yang Jiong, despite his literary fame, would rise no higher than local magistracy, while the others were brilliant but insubstantial and unlikely to end well. The source states that events later appeared to confirm his judgment. He also met Su Weidao and Wang Ju and predicted that within a little more than a decade they would reach high ministerial rank. Both later became chief ministers, and contemporaries praised Pei's discernment.

Later Campaigns and Death

In 676, the third year of the Shangyuan era, Tibet invaded Tang territory. Pei left the capital to command the Left Second Army of the Taozhou Circuit and was later transferred to command the Right Army of the Qinzhou Circuit under the overall authority of Prince Zhou, Li Xian, later Emperor Zhongzong, participating in frontier defense against Tibet.

In 679, the first year of the Tiaolu era, Ashina Duzhi, khan of the Western Turkic Ten Tribes, and Li Zhefu incited subordinate groups to disturb Anxi and allied with Tibet. The court prepared a punitive expedition, but Pei proposed using the mission to escort the Persian prince Ninienshi home as cover for a stratagem, avoiding the cost of a major campaign. Emperor Gaozong accepted the proposal and appointed Pei both escort for the Persian prince and Pacification Commissioner to the Arabs. Passing through Xizhou, Pei summoned more than a thousand local notables under the pretext of hunting, then spread word that the summer heat was too severe for an advance and that operations would wait until autumn, causing Ashina Duzhi to relax his guard. Pei then advanced rapidly, captured Ashina Duzhi by stratagem, and compelled Li Zhefu to surrender. The rebellion was suppressed without a pitched battle. Gaozong personally held a banquet in Pei's honor, praised him as “complete in both civil and military ability,” and appointed him Minister of Rites and acting General of the Right Guard.

In the same year, the Eastern Turkic groups led by Ashide Wenfu and Ashina Fengzhi rebelled and raised Ashina Nishufu as khan. Twenty-four prefectures under the Chanyu Protectorate joined the revolt, and the rebel force numbered in the hundreds of thousands. Pei was appointed Grand Commander of the Dingxiang Circuit and led more than 300,000 troops. He first devised a plan using decoy grain carts to destroy Turkic raiders. He also ordered his camp moved to high ground after predicting a storm; that night torrential rain flooded the original campsite to a depth of more than one zhang. The Turkic army then suffered repeated defeats around Black Mountain. Ashina Nishufu was killed by his own men and his head was presented to Tang forces, Ashina Fengzhi was captured, and the remnants fled toward Wolf Mountain.

In 680, the second year of the Yonglong era, Ashina Funian proclaimed himself khan and joined Ashide Wenfu. Pei again commanded the Tang forces, stationed at Xingkou in Daizhou, and used a strategy of sowing mutual suspicion between Funian and Wenfu. Fearing for himself, Funian secretly offered to surrender and proposed binding Wenfu and bringing him in. Pei kept the negotiation secret and reported privately to the court. Within days Funian arrived with Wenfu under guard, and the remaining Eastern Turkic resistance was pacified. However, Chief Minister Pei Yan, jealous of Pei Xingjian's achievement, told Gaozong that Funian had surrendered only because he was pressed by Cheng Wuting, Zhang Qianxu, and the Uyghurs. Gaozong accepted this view and ordered Funian and Wenfu executed. Pei Xingjian received no record of the full achievement and was merely enfeoffed as Duke of Wenxi County. He lamented the killing of surrendered enemies and compared the jealousy shown toward him to the Western Jin dispute between Wang Hun and Wang Jun over the conquest of Wu. He feared that killing men who surrendered would prevent others from doing so, and thereafter withdrew from public activity on the pretext of illness.

In 682, the first year of the Yongchun era, Chebo of the Ten-Tribes Turks rebelled. Pei was appointed Grand Commander of the Jinya Circuit to lead the campaign. Before he could depart, however, he died on the twenty-eighth day of the fourth lunar month at his home in Yanshou Ward, Chang'an, at the age of sixty-four. Emperor Gaozong posthumously appointed him Commander of Youzhou and gave him the posthumous name Xian. The emperor also ordered the crown prince to select a sixth-rank capital official to manage Pei's household until his descendants were capable of doing so themselves. Pei was buried in October at Dongliang Plain in Wenxi County.

Major Activities

Military Achievements

Pei Xingjian was one of the leading commanders of Emperor Gaozong's reign. His greatest military achievements were the suppression of rebellions among the Western and Eastern Turks.

In 679, Pei used the pretext of escorting a Persian prince home. At Xizhou he recruited more than a thousand local notables and spread word that the summer heat required delaying the march until autumn, causing Ashina Duzhi to lower his guard. Pei then summoned more than ten thousand sons of chiefs from the Four Garrisons in the name of a hunt, secretly organized them as troops, and advanced at double speed. When only a little more than ten li from Ashina Duzhi's camp, he first sent a trusted man to offer greetings, preserving the appearance of leisure, and then urgently summoned Duzhi. Taken by surprise and unable to formulate a response, Duzhi came with more than five hundred men and was seized. Pei released Li Zhefu's envoy to carry news of Duzhi's capture, whereupon Li Zhefu surrendered. The revolt was suppressed without bloodshed. Gaozong praised Pei for taking a lone force ten thousand li into enemy territory and capturing the rebel party without bloodshed, calling him a man of both civil and military ability.

That same year Pei led more than 300,000 troops against the rebellion of Ashide Wenfu and others. He prepared three hundred decoy grain carts, concealed five elite soldiers in each with long horse-cutting swords and strong crossbows, had weaker soldiers pull the carts, and secretly followed them with elite troops. Turkic raiders seized the carts and pulled them to a place with abundant water and pasture. As they unsaddled their horses and prepared to open the loads, the concealed soldiers suddenly attacked and the following force closed in, virtually annihilating the raiders. Thereafter the Turks no longer dared approach Tang grain convoys. On another occasion, with the army camped north of the Chanyu Protectorate, Pei suddenly ordered the camp moved to high ground despite his officers' objections. A violent windstorm and downpour struck that night, flooding the original site deeply. The army marveled at his ability to read weather conditions and anticipate danger.

In 680, Pei used counterintelligence to set Ashina Funian and Ashide Wenfu against each other and ultimately induced Funian to seize Wenfu and surrender, completing the pacification of the remaining Eastern Turkic forces without a final battle.

Political Contributions

As Vice Minister of Personnel, Pei served with Li Jingxuan and Ma Zai in administering appointments for more than ten years. He devised regulations such as the long-name roster and appointment notation, giving the official-selection system clearer procedures. The long-name roster ranked candidates according to qualifications and evaluations, while appointment notation matched seniority and ability to offices. These methods provided later administrations with a framework for selecting and appointing officials. He also established standards for promotion and demotion of prefects and magistrates and for evaluating seniority, making his work an important contribution to Tang personnel administration.

Pei was skilled at identifying talent. Among the commanders he promoted in the army were Cheng Wuting, Zhang Qianxu, Wang Fangyi, Cui Zhibian, Liu Jingtong, Li Duozuo, and Heichi Changzhi, many of whom became prominent generals. Zhang Zhiyun, Xue Ne, Yan Jingrong, Gan Yuanjian, Pei Siliang, Wang Zhifang, Lü Xiujing, and Liu Xuanyi also served under him as subordinate commanders. Contemporaries praised his ability to recognize capable men.

Literature and Calligraphy

Pei was credited with a collected literary works in twenty juan and a ten-juan *Xuanpu*, and with producing thousands of examples of cursive script; all are now lost. His military writings contained forty-six principles concerning encampment, battle formations, troop organization, and assessment of the enemy and were reportedly kept as secret treasures by Wu Zetian. Zhang Yue's funerary inscription states that Pei “wrote a collected works in twenty juan and produced several thousand examples of cursive script, all treasured and transmitted among people as models for the age.” Pei therefore had a reputation not only as a soldier and statesman but also in letters and calligraphy.

Personal Relations

Family

  • Great-grandfather: Pei Bofeng, Northern Zhou General of Agile Cavalry and Inspector of Fenzhou, Duke of Langya Commandery
  • Grandfather: Pei Dinggao, Northern Zhou Administrator of Fengyi Commandery, hereditary Duke of Langya
  • Father: Pei Renji, Sui Grand Master of Splendid Happiness; posthumously appointed Tang Commander of Yuanzhou, with the posthumous name Zhong
  • Elder brother: Pei Xingyan, warrior of the late Sui, killed together with their father by Wang Shichong
  • First wife: Lady Lu, daughter of Lu Shuang, Vice Minister of War
  • Second wife: Lady Kudi, summoned to the palace during Wu Zetian's regency and appointed a female court official; later granted the title Lady of Jin State during the Kaiyuan era
  • Eldest son: Pei Zhenyin, died young
  • Second son: Pei Yanxiu, magistrate of Wenshui County in Bingzhou
  • Third son: Pei Qingyuan, Court Music Officer
  • Youngest son: Pei Guangting, later Attendant and Minister of Personnel during the Kaiyuan era
  • Daughters: one married Su Weidao and one married Wang Ju
  • Grandsons: Pei Quxuan, Pei Yixuan, and Pei Wuxuan, sons of Pei Zhenyin; and Pei Zhen, son of Pei Guangting

Teachers and Associates

  • Su Dingfang: famous Tang general who transmitted his military knowledge to Pei Xingjian
  • Li Jingxuan: worked with Pei in personnel selection; the pair were known as “Pei and Li”
  • Ma Zai: worked with Pei in personnel selection; the pair were known as “Pei and Ma”

Ruler–Official Relations

  • Emperor Taizong, Li Shimin: Pei entered official service after passing the Mingjing examination during the Zhenguan era
  • Emperor Gaozong, Li Zhi: Pei's principal sovereign, who relied on him and praised him as “complete in both civil and military ability”
  • Wu Zetian: Pei was demoted for opposing her elevation as empress, although his military writings were later reportedly kept by her as secret treasures
  • Prince Zhou, Li Xian: exercised overall authority over Pei when Pei served as a Taozhou circuit commander

Conflicts

  • Pei Yan: Chief Minister who was jealous of Pei Xingjian's achievement and persuaded Gaozong to execute the surrendered Ashina Funian, with the result that Pei Xingjian's achievement was not fully recorded
  • Yuan Gongyu: head of the Court of Judicial Review who disclosed Pei's secret discussions opposing Consort Wu's elevation to her mother

Historical Assessment

Tang / Contemporary

  • Su Dingfang: “There is no one in the world to whom I could teach my military methods; now you are the worthy man.” — *New Book of Tang*, Biography of Pei Xingjian
  • Emperor Gaozong: “Xingjian led an isolated force ten thousand li deep; without bloodshed he captured and pacified the rebels. He may truly be called complete in both civil and military ability.” — *New Book of Tang*, Biography of Pei Xingjian
  • Zhang Yue praised Pei's firmness of purpose, exact thought, courage, insight, learning, ability to read celestial and atmospheric signs, writings, cursive calligraphy, ten-juan *Xuanpu*, and forty-six principles of military organization and strategy. — “Spirit-Way Inscription for the Late Grand Commandant Duke Pei”

Song and Yuan Periods

  • The historian of the *Old Book of Tang* wrote that Pei was known for administrative and strategic ability, had a strong record in every important office, and as a commander excelled at judging the enemy and repeatedly won battles; contemporaries regretted that his high achievements aroused jealousy and were suppressed by Pei Yan.
  • The *New Book of Tang* praised him for penetrating ten thousand li with a lone force and capturing rebels without bloodshed, calling him complete in both civil and military affairs.
  • Song Qi described the scale of his expedition as unmatched in Tang history.

Ming and Qing Periods

  • Wang Fuzhi wrote that Pei's pacification of the Turks succeeded through stratagem rather than costly force, praising his command while also treating the jealousy of Pei Yan and the killing of surrendered enemies as lessons for later generations. — *Du Tongjian Lun*
  • Cai Dongfan characterized Pei as a minister capable in both civil and military affairs who defeated the Western Turks by stratagem without bloodshed and the Eastern Turks through planning, while lamenting that Pei Yan's jealousy prevented him from receiving full reward. — *Romance of Tang History*

Modern Period

  • Cen Zhongmian regarded Pei as a prominent early Tang general who relied on strategy rather than force alone and emphasized his contribution to improving Tang official selection through the long-name roster and appointment notation. — *History of Sui and Tang*
  • Lü Simian called Pei a first-rank figure of Gaozong's reign, distinguished in civil and military affairs, whose campaigns in the Western Regions and against the Turks were notable for winning through strategy without unnecessarily burdening the people. — *History of the Sui, Tang, and Five Dynasties*
  • Huang Yongnian described Pei as one of the most important military commanders of Emperor Gaozong's reign, a successor to Su Dingfang's methods who adapted to the enemy and won through stratagem, while also emphasizing the lasting influence of his personnel reforms. — *Twelve Lectures on Tang History*

LOCAL NETWORK

Ashina Qutlugh↗Linked from this entry

Original note (Chinese): 唐将,镇压突厥反唐,大破突厥军于黑山

Pei Guangting↗Linked from this entry

Original note (Chinese): 裴光庭为裴行俭之子,裴行俭为初唐名臣,官至礼部尚书、右卫大将军,封闻喜县公。

Su Dingfang↗Related entry

Original note (Chinese): 苏定方将毕生用兵奇术传授给裴行俭

Li Zhi↗Related entry

Original note (Chinese): 裴行俭的主要君主,称赞其文武兼备,任命为礼部尚书兼检校右卫大将军

Wu Zetian↗Related entry

Original note (Chinese): 裴行俭因反对立武昭仪为后遭贬为西州都督府长史

Zhangsun Wuji↗Related entry

Original note (Chinese): 裴行俭与长孙无忌、褚遂良秘密商议反对立武昭仪为后

Pei Guangting↗Related entry

Original note (Chinese): 裴行俭季子,开元年间官至侍中兼吏部尚书

Zhang Shuo↗Related entry

Original note (Chinese): 唐代名臣,为裴行俭撰写《赠太尉裴公神道碑》

裴仁基 · No matching entry available

裴行俭之父,隋左光禄大夫,被王世充所杀,唐赠原州都督

裴行俨 · No matching entry available

裴行俭之兄,隋末猛将,与父同被王世充杀害

褚遂良 · No matching entry available

裴行俭与长孙无忌、褚遂良秘密商议反对立武昭仪为后

裴炎 · No matching entry available

侍中裴炎嫉妒裴行俭之功,建言高宗处死降将,导致裴行俭之功不录

李敬玄 · No matching entry available

与裴行俭同掌吏部选事,时称“裴李”

马载 · No matching entry available

与裴行俭同掌吏部选事,时称“裴马”

程务挺 · No matching entry available

裴行俭在军中提拔的将领,后成为一代名将,参与平定东突厥叛乱

苏味道 · No matching entry available

裴行俭之女婿,裴行俭评价其十数年后当居宰相之位,后果然

王勮 · No matching entry available

裴行俭之女婿,裴行俭评价其十数年后当居宰相之位,后果然

阿史那都支 · No matching entry available

西突厥十姓可汗,反叛安西,被裴行俭以计擒获

阿史那伏念 · No matching entry available

东突厥可汗,被裴行俭以反间计逼降,后因裴炎建言被处死

阿史德温傅 · No matching entry available

东突厥首领,反唐叛乱,被阿史那伏念擒获献于裴行俭

CONTEMPORARIES

Bibliography

  • *Old Book of Tang*, vol. 84, “Biography of Pei Xingjian”
  • *New Book of Tang*, vol. 108, “Biography of Pei Xingjian”
  • Cen Zhongmian, *History of Sui and Tang*
  • Lü Simian, *History of the Sui, Tang, and Five Dynasties*
  • Huang Yongnian, *Twelve Lectures on Tang History*