Pei Ju
Encyclopedia
Pei Ju (547?-627), courtesy name Hongda (弘大), formally Duke Jing of Anyi (安邑敬公), was a high level official during the Chinese
History of China
Chinese civilization originated in various regional centers along both the Yellow River and the Yangtze River valleys in the Neolithic era, but the Yellow River is said to be the Cradle of Chinese Civilization. With thousands of years of continuous history, China is one of the world's oldest...

 dynasties Sui Dynasty
Sui Dynasty
The Sui Dynasty was a powerful, but short-lived Imperial Chinese dynasty. Preceded by the Southern and Northern Dynasties, it ended nearly four centuries of division between rival regimes. It was followed by the Tang Dynasty....

 and Tang Dynasty
Tang Dynasty
The Tang Dynasty was an imperial dynasty of China preceded by the Sui Dynasty and followed by the Five Dynasties and Ten Kingdoms Period. It was founded by the Li family, who seized power during the decline and collapse of the Sui Empire...

, briefly serving as a chancellor during the reign of Emperor Gaozu of Tang
Emperor Gaozu of Tang
Emperor Gāozǔ of Táng , born Lǐ Yuān , courtesy name Shūdé , was the founder of the Tang Dynasty of China, and the first emperor of this dynasty from 618 to 626. Under the Sui dynasty, Li Yuan was the governor in the area of modern-day Shanxi, and was based in Taiyuan.In 615, Li Yuan was assigned...

. He was praised by traditional Chinese historians for his ability and lack of corruption, but blamed him for flattering Emperor Yang of Sui
Emperor Yang of Sui
Emperor Yang of Sui , personal name Yang Guang , alternative name Ying , nickname Amo , known as Emperor Ming during the brief reign of his grandson Yang Tong), was the second son of Emperor Wen of Sui, and the second emperor of China's Sui Dynasty.Emperor Yang's original name was Yang Ying, but...

 and contributing to Sui's downfall by encouraging many external military campaigns that drained Sui's resources.

Background

Pei Ju's clan was originally from Hedong Commandery (河東, roughly modern Yuncheng, Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

). His grandfather Pei Tuo (裴佗) was an official for Northern Wei
Northern Wei
The Northern Wei Dynasty , also known as the Tuoba Wei , Later Wei , or Yuan Wei , was a dynasty which ruled northern China from 386 to 534 . It has been described as "part of an era of political turbulence and intense social and cultural change"...

, and his father Pei Nazhi (裴訥之) served as an official during Northern Wei's branch successor state Eastern Wei
Eastern Wei
The Eastern Wei Dynasty followed the disintegration of the Northern Wei, and ruled northern China from 534 to 550.In 534 Gao Huan, the potentate of the eastern half of what was Northern Wei territory following the disintegration of the Northern Wei dynasty installed Yuan Shanjian a descendant of...

 and Eastern Wei's successor state Northern Qi
Northern Qi
The Northern Qi Dynasty was one of the Northern dynasties of Chinese history and ruled northern China from 550 to 577.-History:The Chinese state of Northern Qi was the successor state of the Chinese/Xianbei state of Eastern Wei and was founded by Emperor Wenxuan...

. Pei Nazhi died when Pei Ju was young, and Pei Ju was raised by his uncle Pei Rangzhi (裴讓之), himself a famed official during the time.

In his youth, Pei Ju was known for his knowledge and intelligence. He served on the staff of Gao Zhen (高貞) the Prince of Beiping and then of Gao Renying (高仁英) the Prince of Gaoping, both sons of Emperor Wucheng of Northern Qi
Emperor Wucheng of Northern Qi
Emperor Wucheng of Northern Qi , personal name Gao Dan , nickname Buluoji , was an emperor of the Chinese dynasty Northern Qi. During his reign, he devoted much of his time to feasting and pleasure-seeking, neglecting the affairs of the state and causing Northern Qi's political system to degrade...

. After Northern Qi was destroyed by rival Northern Zhou
Northern Zhou
The Northern Zhou Dynasty followed the Western Wei, and ruled northern China from 557 to 581. It was overthrown by the Sui Dynasty.Northern Zhou's basis of power was established by Yuwen Tai, who was paramount general of Western Wei, following the split of Northern Wei into Western Wei and...

 in 577, it was said that Pei was stuck at his position. When the Northern Zhou general Yang Jian
Emperor Wen of Sui
Emperor Wen of Sui — personal name Yang Jian , Xianbei name Puliuru Jian , nickname Naluoyan — was the founder and first emperor of China's Sui Dynasty . He was a hard-working administrator and a micromanager. As a Buddhist, he encouraged the spread of Buddhism through the state...

 served as the commandant at Ding Province (定州, roughly modern Baoding
Baoding
-Administrative divisions:Baoding prefecture-level city consists of 3 municipal districts, 4 county-level cities, 18 counties:-Demographics:The Baoding urban area has a population of around 1,006,000 . The population of the Baoding administrative area is 10,890,000. The considerable majority are...

, Hebei
Hebei
' is a province of the People's Republic of China in the North China region. Its one-character abbreviation is "" , named after Ji Province, a Han Dynasty province that included what is now southern Hebei...

), he invited Pei to serve as his secretary. Pei later left Yang Jian's service when his mother died, to observe a mourning period. In 580, Yang Jian seized power as regent
Regent
A regent, from the Latin regens "one who reigns", is a person selected to act as head of state because the ruler is a minor, not present, or debilitated. Currently there are only two ruling Regencies in the world, sovereign Liechtenstein and the Malaysian constitutive state of Terengganu...

 over the young Emperor Jing of Northern Zhou
Emperor Jing of Northern Zhou
Emperor Jing of Northern Zhou , personally name né Yuwen Yan , later Yuwen Chan , was the last emperor of the Chinese/Xianbei dynasty Northern Zhou. He became emperor at the age of six, after his father Emperor Xuan formally passed the throne to him, but Emperor Xuan retained the imperial powers...

. He sent messengers to summon Pei, and Pei served on his staff as a secretary.

During Emperor Wen's reign

In 581, Yang Jian had Emperor Jing yield the throne to him, ending Northern Zhou and establishing Sui Dynasty
Sui Dynasty
The Sui Dynasty was a powerful, but short-lived Imperial Chinese dynasty. Preceded by the Southern and Northern Dynasties, it ended nearly four centuries of division between rival regimes. It was followed by the Tang Dynasty....

 as its Emperor Wen. Pei Ju became a mid-level official in the new dynasty's government. In 589, when Emperor Wen sent forces to conquer the rival Chen Dynasty
Chen Dynasty
The Chen Dynasty , also known as the Southern Chen Dynasty, was the fourth and last of the Southern dynasties in China, eventually destroyed by the Sui Dynasty....

 and to unite China, Pei Ju served as a secretary to Emperor Wen's son Yang Guang
Emperor Yang of Sui
Emperor Yang of Sui , personal name Yang Guang , alternative name Ying , nickname Amo , known as Emperor Ming during the brief reign of his grandson Yang Tong), was the second son of Emperor Wen of Sui, and the second emperor of China's Sui Dynasty.Emperor Yang's original name was Yang Ying, but...

 the Prince of Jin, the commander for the overall operation. After Chen's capital Jiankang
Jiankang
Jiankang was the capital city of the Eastern Jin Dynasty and Southern Dynasties. Its walls are extant ruins in the modern municipal region of Nanjing.-History:...

 fell and the emperor Chen Shubao
Chen Shubao
Chen Shubao , often known in history as Houzhu of Chen , posthumous name Duke Yang of Changcheng , courtesy name Yuanxiu , nickname Huangnu , was the last emperor of the Chinese Chen Dynasty...

 was captured, Yang Guang had his assistant Gao Jiong
Gao Jiong
Gāo Jiǒng Gāo Jiǒng Gāo Jiǒng (d. August 27, 607 courtesy name Zhaoxuan (昭玄), alternative name Min (敏), known during the Northern Zhou period by the Xianbei name Dugu Jiong (独孤颎/獨孤熲), was a key official and general of the Chinese Sui Dynasty...

 and Pei collect the Chen archives. In 590, Pei was ordered to head to the Lingnan region (嶺南, i.e., modern Guangdong
Guangdong
Guangdong is a province on the South China Sea coast of the People's Republic of China. The province was previously often written with the alternative English name Kwangtung Province...

, Guangxi
Guangxi
Guangxi, formerly romanized Kwangsi, is a province of southern China along its border with Vietnam. In 1958, it became the Guangxi Zhuang Autonomous Region of the People's Republic of China, a region with special privileges created specifically for the Zhuang people.Guangxi's location, in...

, and northern Vietnam
Vietnam
Vietnam – sometimes spelled Viet Nam , officially the Socialist Republic of Vietnam – is the easternmost country on the Indochina Peninsula in Southeast Asia. It is bordered by China to the north, Laos to the northwest, Cambodia to the southwest, and the South China Sea –...

) to comfort the people there, but while he was still traveling there, nearly all of former Chen territory, with the people unfamiliar with and resenting Sui laws, erupted into rebellion. Emperor Wen initially recalled Pei, but Pei requested permission to continue, and Emperor Wen allowed him. He gathered several thousand soldiers at Nankang (南康, in modern Ganzhou
Ganzhou
Ganzhou is a prefecture-level city in southern Jiangxi province, People's Republic of China. Its administrative seat is at Zhanggong .-History:...

, Jiangxi
Jiangxi
' is a southern province in the People's Republic of China. Spanning from the banks of the Yangtze River in the north into hillier areas in the south, it shares a border with Anhui to the north, Zhejiang to the northeast, Fujian to the east, Guangdong to the south, Hunan to the west, and Hubei to...

) and defeated and killed the rebel general Zhou Shiju (周師舉), who served under Wang Zhongxuan (王仲宣). He then approached Guang Province (廣州, roughly modern Guangzhou
Guangzhou
Guangzhou , known historically as Canton or Kwangchow, is the capital and largest city of the Guangdong province in the People's Republic of China. Located in southern China on the Pearl River, about north-northwest of Hong Kong, Guangzhou is a key national transportation hub and trading port...

, Guangdong
Guangdong
Guangdong is a province on the South China Sea coast of the People's Republic of China. The province was previously often written with the alternative English name Kwangtung Province...

), where Wang was stationed, and Wang's forces, in fear, collapsed. In all, Pei pacified more than 20 provinces, commissioning governors and county magistrates in Emperor Wen's name. After he returned to Chang'an, Emperor Wen was pleased and praised Pei greatly. He created Pei the Duke of Wenxi and awarded him a large cache of silk. He also made Pei the assistant minister of census, and then Neishi Shilang (內史侍郎), the deputy head of the legislative bureau of the government (內史省, Neishi Sheng).

At that time, one of the major threats that Sui was facing was from Eastern Tujue, to the north, particularly because its Dulan Khan Ashina Yongyulü had married Northern Zhou's Princess Qianjin, who hated Yang for destroying Northern Zhou's imperial Yuwen clan. In 593, Pei Ju served as a Sui emissary to Eastern Tujue, and he revealed to Ashina Yongyulü that Princess Qianjin had been committing adultery, and then further persuaded Ashina Yongyulü's nephew and subordinate khan Tuli Khan
Qimin Khan
Yаmi Qaghan, personal name: Ashina Jankan , at one point known as Tolis Qaghan and after Yаmi Qaghan(Old Turkic: , Jаmï qaγan, Chinese: 啓民可汗, 啟民可汗/启民可汗, Modern Chinese: (Pinyin): qǐmín kěhàn, (Wade-Giles): ch'i-min k'o-han, Middle Chinese: (Guangyun) ), personal name: Ashina Jankan (阿史那染幹/阿史那染干,...

 Ashina Rangan that if he was able to get Princess Qianjin killed, Sui would be willing to let him marry a Sui princess. Ashina Rangan therefore convinced Ashina Yongyulü that Princess Qianjin should be killed, and Ashina Yongyulü killed Princess Qianjin. Later, Ashina Rangan was in fact allowed to marry Sui's Princess Anyi, and this led to a break between him and Ashina Yongyulü. Emperor Wen put Ashina Rangan under Sui protection, created him Qimin Khan, and, after Princess Anyi's death, gave him Princess Yicheng in marriage. He also launched armies against Dulan Khan and the subordinate Datou Khan Ashina Dianjue, to protect Ashina Rangan. In one of those attacks, commanded by Shi Wansui (史萬歲) the Duke of Taiping, against Ashina Dianjue, Pei served as Shi's assistant, and they achieved a great victory, but once they returned to Chang'an, Shi was falsely accused of being an adherent of the crown prince
Crown Prince
A crown prince or crown princess is the heir or heiress apparent to the throne in a royal or imperial monarchy. The wife of a crown prince is also titled crown princess....

 Yang Yong
Yang Yong
Emperor Yang Yong , nickname Xiandifa , sometimes known by his posthumous title of Prince of Fangling , was a crown prince of the Chinese dynasty Sui Dynasty. He was the oldest son of Emperor Wen and his wife Empress Dugu Qieluo...

, with whom Emperor Wen was already displeased (and would eventually depose later that year in favor of Yang Guang) and executed, and Pei was given no rewards. Soon, Emperor Wen against sent Pei as an emissary to Ashina Rangan to comfort him and his troops; upon return to Chang'an, Pei was made deputy to the prime minister Yang Su
Yang Su
Yang Su , courtesy name Chudao , formally Duke Jingwu of Chu , was a powerful general during Sui Dynasty whose authority eventually became nearly as supreme as the emperor's...

. In 601, when Emperor Wen's wife Empress Dugu Qieluo
Empress Dugu Qieluo
Empress Dugu Qieluo , formally Empress Wenxian , was an empress of the Chinese dynasty Sui Dynasty...

 died, there were few written regulations about an empress' funeral, so new regulations were written by Pei and Niu Hong (牛弘). Emperor Wen subsequently made him the minister of civil service affairs, and Pei was considered capable at that position.

During Emperor Yang's reign

In 604, Emperor Wen died—a death that traditional historians mostly believe to be a murder ordered by Yang Guang, although they admitted a lack of direct evidence—and was succeeded by Yang Guang (as Emperor Yang). Emperor Yang soon started the reconstruction of Luoyang
Luoyang
Luoyang is a prefecture-level city in western Henan province of Central China. It borders the provincial capital of Zhengzhou to the east, Pingdingshan to the southeast, Nanyang to the south, Sanmenxia to the west, Jiyuan to the north, and Jiaozuo to the northeast.Situated on the central plain of...

 to serve as the eastern capital, and he put Pei Ju in charge of building the governmental offices, which Pei completed in nine months.

Meanwhile, there was a substantial central Asian merchant trade with Sui at Zhangye (張掖, in modern Zhangye
Zhangye
-Administration:Zhangye has 1 urban district, 4 counties, 1 autonomous county, 97 towns, and 977 villages.-Demographics:Zhangye has a total population of 1,260,000, only 260,000 being urban residents...

, Gansu
Gansu
' is a province located in the northwest of the People's Republic of China.It lies between the Tibetan and Huangtu plateaus, and borders Mongolia, Inner Mongolia, and Ningxia to the north, Xinjiang and Qinghai to the west, Sichuan to the south, and Shaanxi to the east...

), and Emperor Yang put Pei in charge of the merchant operations there. Pei knew that Emperor Yang had great ambitions of territorial expansion, and when he met with central Asian merchants, he would get information from them as to the geographical features and customs of their states. He wrote a three-volume work entitled the Maps of and Notes About the Western Regions (西域圖記, of which only the preface is still extant), and he submitted it to Emperor Yang, urging reopening of relations with and subjugation of Xiyu states. Emperor Yang summoned Pei to discuss with him, and Pei further convinced him that Xiyu was full of treasure and that the large nearby state, Tuyuhun, could be easily conquered. Emperor Yang was enticed, and he put Pei in charge of planning the subjugation of Xiyu states and conquest of Tuyuhun.

In 608, Pei persuaded the Tiele
Tiele people
The Tiele or Tele , were a confederation of nine Turkic peoples living to the north of China and in Central Asia, emerging after the disintegration of the Xiongnu confederacy...

 to attack Tuyuhun. Tuyuhun's khan Murong Fuyun
Murong Fuyun
Murong Fuyun , formal title Busabo Khan , was a ruler of the Xianbei/Qiang/Tibetan state Tuyuhun. He first became ruler when his brother Murong Shifu was assassinated in 597, and became one of the longest-ruling monarchs in Tuyuhun history...

 initially sought aid from Sui, but when Emperor Yang sent his cousin Yang Xiong (楊雄) the Prince of Ande and Yuwen Shu
Yuwen Shu
Yuwen Shu , courtesy name Botong , formally Duke Gong of Xu , was an official and general of the Chinese dynasty Sui Dynasty...

 the Duke of Xu toward Tuyuhun, Murong Fuyun distrusted them and fled. Sui forces then attacked him, greatly defeating him and forcing him to flee further, seizing Tuyuhun territory and putting it under Sui control. Later that year, when Emperor Yang was set to offer sacrifices to the spirits of Mount Heng
Mount Heng (Shanxi)
Heng Shan or Heng Mountain in Shanxi Province is one of the Five Sacred Mountains of Taoism. At 2,017 m, it is one of the five tallest peaks in China Proper. Heng Shan in Shanxi Province is sometimes known as the Northern Heng Shan, and the one in Hunan Province as Southern Heng Shan...

, Pei persuaded emissaries from 27 Xiyu states, headed by Qu Boya (麴伯雅) the King of Gaochang
Gaochang
Gaochang is the site of an ancient oasis city built on the northern rim of the inhospitable Taklamakan Desert in Xinjiang, China. A busy trading center, it was a stopping point for merchant traders traveling on the Silk Road...

 and Ashina Tutun (阿史那吐屯), the Western Tujue general in charge of Yiwu (伊吾, in modern Hami Prefecture
Hami Prefecture
Kumul Prefecture, also known as Hami Prefecture is located in eastern Xinjiang, China. It has an area of 140,749 km² and 492,096 inhabitants .- History :...

, Xinjiang
Xinjiang
Xinjiang is an autonomous region of the People's Republic of China. It is the largest Chinese administrative division and spans over 1.6 million km2...

), to pay homage to him and to assist in offering sacrifices. Emperor Yang was greatly pleased by this and greatly awarded both Pei and all of the Xiyu emissaries. Around the same time, Emperor Yang made Pei Ju, along with Yu Shiji
Yu Shiji
Yu Shiji , courtesy name Maoshi , was an official of the Chinese dynasties Chen Dynasty and Sui Dynasty. He was particularly powerful during the reign of Emperor Yang of Sui and became prime minister, and was faulted by traditional historians for placating Emperor Yang and not reacting properly...

, Niu Hong, Su Wei
Su Wei
Su Wei , courtesy name Wuwei , was a high level official of the Chinese dynasty Sui Dynasty. He first became an important official during the reign of Sui's founder Emperor Wen, and after Emperor Wen's death continued to serve Emperor Wen's son Emperor Yang. He was often praised for his...

, Yuwen Shu, Zhang Jin (張瑾), and Pei Yun (裴蘊) in charge of selecting and promoting officials, and they were known as the "seven nobles of officialdom." However, it was said that the actual selective powers were in Yu's hands, and that Yu became exceedingly corrupt, making recommendations based on the amount of bribes that he received. Pei Ju, however, was known and praised for not accepting bribes.

In 610, when Emperor Yang visited the headquarters of Ashina Rangan—who had, by this point, with Sui support, become the ruler of Eastern Tujue—the emissary from Goguryeo
Goguryeo
Goguryeo or Koguryŏ was an ancient Korean kingdom located in present day northern and central parts of the Korean Peninsula, southern Manchuria, and southern Russian Maritime province....

 happened to be at Ashina Rangan's headquarters as well, and Ashina Rangan had him meet with Emperor Yang. Pei then suggested to Emperor Yang that Goguryeo should be subjugated—pointing out that Goguryeo territory was formerly ruled by Han Dynasty
Han Dynasty
The Han Dynasty was the second imperial dynasty of China, preceded by the Qin Dynasty and succeeded by the Three Kingdoms . It was founded by the rebel leader Liu Bang, known posthumously as Emperor Gaozu of Han. It was briefly interrupted by the Xin Dynasty of the former regent Wang Mang...

 and Jin Dynasty
Jìn Dynasty (265-420)
The Jìn Dynasty , was a dynasty in Chinese history, lasting between the years 265 and 420 AD. There are two main divisions in the history of the Dynasty, the first being Western Jin and the second Eastern Jin...

. Emperor Yang was enticed, and he issued an edict, to be taken back to Goguryeo's king Gao Yuan (King Yeongyang
Yeong-yang of Goguryeo
King Yeong-yang of Goguryeo was the 26th king of Goguryeo, the northernmost of the Three Kingdoms of Korea. He was the eldest son of King Pyeongwon .-Reign:...

), in which he ordered King Yeongyang to visit him at Zhuo Commandery (涿郡, roughly modern Beijing
Beijing
Beijing , also known as Peking , is the capital of the People's Republic of China and one of the most populous cities in the world, with a population of 19,612,368 as of 2010. The city is the country's political, cultural, and educational center, and home to the headquarters for most of China's...

) in 611 or face consequences. King Yeongyang, in fear, began to prepare for war, as did Emperor Yang, believing that conquest would be easy. (The subsequent campaigns against Goguryeo in 612, 613, and 614, particularly the one in 612, however, was disastrous for Sui, as great human and material costs were expended with only minimal territorial gains, leading eventually to Sui's downfall.)

In 611, after Western Tujue's Chuluo Khan
Heshana Khan
Heshana Khan , at one point known as Chuluo Khan and , personal name Ashina Daman , was a khan of the Western Turkic Khaganate...

 Ashina Daman similarly refused to visit Emperor Yang, Pei suggested forming an alliance with Ashina Daman's subordinate Ashina Shekui, who had been requesting to marry a Sui princess. Emperor Yang agreed, and subsequently, Ashina Shekui attacked Ashina Daman, defeating him and forcing him to flee to Gaochang. Emperor Yang then sent Pei to Gaochang to persuade Ashina Daman to come to Sui, and Ashina Daman did; he subsequently stayed in China and did not return to his own land. Emperor Yang, pleased with this development, awarded Pei with a sable coat and jewels that Ashina Daman offered as tribute.

Meanwhile, another strategy offered by Pei to keep Eastern Tujue divided and controlled backfired. Pei had become apprehensive that Ashina Rangan's son and successor the Shibi Khan
Shibi Khan
Shibi Khagan , 611 - 619 AD, succeeded Qimin Khan as the ninth khagan of the Eastern Turkic Khaganate...

 Ashina Duojishi was becoming strong and difficult to control, and therefore had suggested that Emperor Yang offer to marry a princess to Ashina Duojishi's brother Ashina Chiji (阿史那叱吉), but Ashina Chiji, in fear, declined. This already brought resentment from Ashina Duojishi, when Pei tricked Ashina Duojishi's strategist Shishuhu (史蜀胡) into meeting him at Mayi (馬邑, in modern Shuozhou
Shuozhou
Shuozhou is a city in the north of Shanxi Province in North China, located on the upper reaches of the Fen River. As of 2004, its population is approximately 1.25 million, and the city has an area of approximately 5,737 square kilometres. Administratively, Shuozhou is a prefecture-level city, with...

, Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

) and then killed Ashina Duojishi, claiming that Shishuhu was planning to rebel against Ashina Duojishi. Ashina Duojishi, realizing that the accusation was false, became resolved to rebel against Sui. In 615, when Emperor Yang was visiting Yanmen (雁門, in modern Xinzhou, Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

), Ashina Duojishi launched a surprise attack, putting Yanmen under siege. Emperor Yang put Yu and Pei in charge of planning the military counteroffensive, but eventually was only able to get the siege lifted when he, following the advice of Xiao Yu
Xiao Yu
Xiao Yu , courtesy name Shiwen , formally Duke Zhenbian of Song , was an imperial prince of the Chinese dynasty Liang Dynasty who later became an official for Sui Dynasty and Tang Dynasty, serving as a chancellor at times during the reigns of Emperor Gaozu of Tang and Emperor Taizong of Tang.-...

 (the brother of his wife Empress Xiao
Empress Xiao (Yang)
Empress Xiao , formally Empress Min , was an empress of the Chinese Sui Dynasty...

), sent messengers to Princess Yicheng (who had become Ashina Duojishi's wife following Ashina Rangan's death, pursuant to Tujue customs); she falsely informed Ashina Duojishi that Tujue was under attack from the north, and so Ashina Duojishi lifted the siege. After the end of the siege, Pei accompanied Emperor Yang back to Luoyang, and was subsequently in charge of receiving a delegation led by Ashina Shekui's son.

In 616, Emperor Yang, despite the fact that most of his territory was engulfed by agrarian rebellions, went from Luoyang to Jiangdu (江都, in modern Yangzhou
Yangzhou
Yangzhou is a prefecture-level city in central Jiangsu Province, People's Republic of China. Sitting on the northern bank of the Yangtze River, it borders the provincial capital of Nanjing to the southwest, Huai'an to the north, Yancheng to the northeast, Taizhou to the east, and Zhenjiang across...

, Jiangsu
Jiangsu
' is a province of the People's Republic of China, located along the east coast of the country. The name comes from jiang, short for the city of Jiangning , and su, for the city of Suzhou. The abbreviation for this province is "苏" , the second character of its name...

). Pei accompanied him, but when Pei subsequently warned him about agrarian rebellions—which he did not wish to hear about—he ordered Pei back to Chang'an to be in charge of again receiving Xiyu emissaries, an effective banishment, although he did not push the issue when Pei subsequently claimed illness. In 617, when news that the general Li Yuan
Emperor Gaozu of Tang
Emperor Gāozǔ of Táng , born Lǐ Yuān , courtesy name Shūdé , was the founder of the Tang Dynasty of China, and the first emperor of this dynasty from 618 to 626. Under the Sui dynasty, Li Yuan was the governor in the area of modern-day Shanxi, and was based in Taiyuan.In 615, Li Yuan was assigned...

 had rebelled at Taiyuan (太原, in modern Taiyuan
Taiyuan
Taiyuan is the capital and largest city of Shanxi province in North China. At the 2010 census, it had a total population of 4,201,591 inhabitants on 6959 km² whom 3,212,500 are urban on 1,460 km². The name of the city literally means "Great Plains", referring to the location where the Fen River...

, Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

) and was attacking Chang'an, having defeated and captured the major general Qutu Tong (屈突通), Emperor Yang was alarmed, and Pei suggested returning to Luoyang. Emperor Yang, while not listening to Pei, restored him to his posts. Pei, seeing that Emperor Yang's elite Xiaoguo Army (驍果), which Emperor Yang had taken to Jiangdu with him, had its soldiers deserting due to their missing their northern homes, treated the Xiaoguo officers with respect while suggesting that the soldiers be given wives in Jiangdu. Emperor Yang agreed, and Xiaoguo soldiers were given wives (and permitted to marry those with whom they had previously had secret liaisons).

In spring 618, Xiaoguo officers nevertheless rose in a coup, led by Yuwen Huaji
Yuwen Huaji
Yuwen Huaji was a general of the Chinese dynasty Sui Dynasty who, in 618, led a coup against Emperor Yang of Sui, killing him. He subsequently declared Emperor Yang's nephew Yang Hao led Emperor Yang's elite Xiaoguo Army north, but was then repeatedly defeated by Li Mi, Li Shentong , and...

 (Yuwen Shu's son). They killed Emperor Yang and a large number of high level officials, but as Pei was kind to them, they spared Pei. Yuwen Huaji declared Emperor Yang's nephew Yang Hao
Yang Hao (Sui Dynasty)
Yang Hao , often known by his princely title of Prince of Qin , was one of the claimants of the throne of the Chinese Sui Dynasty at the dynasty's end.-Background:...

 the Prince of Qin emperor, and began to head back north with the Xiaoguo Army.

Under Yuwen Huaji and Dou Jiande

Yuwen Huaji made Pei Ju the co-head (僕射, Pushe) of the executive bureau of the government (尚書省, Shangshu Sheng). After he poisoned Yang Hao and declared himself emperor of a state of Xu (許) later in 618, he created Pei the Duke of Cai. He was subsequently captured and executed by another rebel ruler, Dou Jiande
Dou Jiande
Dou Jiande was a leader of the agrarian rebels who rose against the rule of Emperor Yang of Sui near the end of the Chinese dynasty Sui Dynasty...

 the Prince of Xia, in 619. Dou, as his government was then unorganized, had Pei draft the governmental organization and continue to serve as Pushe in his government, often inquiring Pei as to Sui governance and other related matters.

In 621, with Li Shimin
Emperor Taizong of Tang
Emperor Taizong of Tang , personal name Lǐ Shìmín , was the second emperor of the Tang Dynasty of China, ruling from 626 to 649...

 (a son of Li Yuan, who had in 618 established Tang Dynasty
Tang Dynasty
The Tang Dynasty was an imperial dynasty of China preceded by the Sui Dynasty and followed by the Five Dynasties and Ten Kingdoms Period. It was founded by the Li family, who seized power during the decline and collapse of the Sui Empire...

 as its Emperor Gaozu) attacking Wang Shichong
Wang Shichong
Wang Shichong , courtesy name Xingman , was a general of the Chinese Sui Dynasty who deposed Sui's last emperor Yang Tong and briefly ruled as the emperor of a succeeding state of Zheng...

 the Emperor of Zheng, Dou, believing that if Tang destroyed Zheng, his own Xia state would be cornered, went to Wang's aid, but was defeated by Li Shimin at the Battle of Hulao
Battle of Hulao
The Battle of Hulao of 28 May 621, located just east of Luoyang, was a decisive victory for Li Shimin, through which he was able to subdue two warlords, Dou Jiande and Wang Shichong. Li Shimin led a siege on the city of Luoyang, head of the self-declared emperor Wang Shichong, who solicited help...

 and captured. His wife Empress Cao
Empress Cao (Dou Jiande)
Empress Cao was the wife of Dou Jiande, an agrarian rebel leader who claimed the title of Prince of Xia at the end of the Chinese dynasty Sui Dynasty.Nothing is known about her personal background...

 and a number of generals fled back to the Xia capital Ming Prefecture (洺州, in modern Handan
Handan
Handan is a prefecture-level city located in the southwestern part of Hebei Province of China.- History :Handan was the capital of the State of Zhao during the Warring States period , after the capital moved from Zhongmu. The city was conquered by the State of Qin after the virtual annexation of...

, Hebei
Hebei
' is a province of the People's Republic of China in the North China region. Its one-character abbreviation is "" , named after Ji Province, a Han Dynasty province that included what is now southern Hebei...

) and considered supporting an adoptive son of Dou Jiande as Prince of Xia and continuing to resist Tang, but at the urging of the official Qi Shanxing (齊善行), Xia forces were disbanded. Qi, Pei, and Empress Cao's brother Cao Dan (曹旦) then escorted her and surrendered to Tang.

During Emperor Gaozu's reign

Emperor Gaozu created Pei Ju the Duke of Anyi and had him serve as the head of his son and crown prince Li Jiancheng
Li Jiancheng
Li Jiancheng , formally Crown Prince Yin , nickname Pishamen , was a crown prince of the Chinese dynasty Tang Dynasty. He was the oldest son of the founding emperor Emperor Gaozu and therefore was designated crown prince after the founding of the dynasty in 618...

's household. He also had Pei and Yu Shinan
Yu Shinan
Yu Shinan , courtesy name Boshi , was a master of calligraphy in early Tang Dynasty. He was also a paramount official, litterateur and well known confucian scholar in Emperor Taizong of Tang's era....

 (Yu Shiji's brother) draft regulations on various ceremonies, and the regulations were described as appropriate and praised by scholars. In 624, he was made acting Shizhong (侍中) -- the head of the examination bureau of the government (門下省, Menxia Sheng) and a post considered one for a chancellor.

In 625, Western Tujue's Yehu Khan Ashina Tong requested a marriage with a Tang princess. Emperor Gaozu consulted Pei, who believed that such a benefit would be beneficial to Tang, and Emperor Gaozu therefore agreed. (However, Ashina Tong, fearful of anger of Eastern Tujue's Jiali Khan Ashina Duobi, did not actually carry out the marriage.) Later in 625, Pei was no longer Shizhong and therefore apparently no longer chancellor.

In 626, Li Shimin the Prince of Qin, then in an intense rivalry with Li Jiancheng and fearing that Li Jiancheng would kill him, ambushed Li Jiancheng and another brother who supported Li Jiancheng, Li Yuanji
Li Yuanji
Li Yuanji , formally Prince La of Chao , more commonly known by the title of Prince of Qi , nickname Sanhu , was an imperial prince of the Chinese Tang Dynasty...

 the Prince of Qi, at Xuanwu Gate
Incident at Xuanwu Gate
The Incident at Xuanwu Gate refers to an incident on July 2, 626, when Li Shimin the Prince of Qin, a son of Emperor Gaozu of Tang , in an intense rivalry with his older brother Li Jiancheng the Crown Prince and fearing that Li Jiancheng was about to kill him, set an ambush at Xuanwu Gate, the...

 and killed them. After Li Jiancheng's and Li Yuanji's deaths, their troops nevertheless continued to battle Li Shimin's, and Li Shimin asked Pei to appear before them and encourage them to disband, which they did. When Li Shimin then effectively forced Emperor Gaozu to create him crown prince and then reorganized the government, Pei was made the minister of census.

During Emperor Taizong's reign

Pei Ju continued to serve as minister of census after Emperor Gaozu yielded the throne to Li Shimin in winter 626 (as Emperor Taizong). Also in winter 626, Pei suggested that a small amount of silk be distributed per household for the people who had been adversely affected by Tujue incursions—a suggestion that Emperor Taizong rejected as impractical, pointing out that households had various sizes, instead ordering that the silk be distributed by household size. However, later that year, Pei received approval from Emperor Taizong, when he counseled Emperor Taizong not to execute a low level official who had received a bribe in a sting operation
Sting operation
In law enforcement, a sting operation is a deceptive operation designed to catch a person committing a crime. A typical sting will have a law-enforcement officer or cooperative member of the public play a role as criminal partner or potential victim and go along with a suspect's actions to gather...

-- pointing out the inequity in executing someone for falling trap to a sting operation. Pei died in 627 and was posthumously honored.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK