Early life and career Pei Wei was born into the famous Pei clan of
Hedong Commandery as the son of the
Cao Wei and later Jin minister,
Pei Xiu. Through his mother, Pei Wei was also the nephew of
Jia Chong's spouse,
Guo Huai, thus making him a relative of Chong and his immediate family. He was very popular even at a young age for his insightfulness and personality. After
Pei Xiu died in April 271, Pei Wei was ordered to succeed his father's peerage, the Duke of
Julu Commandery. Pei Wei politely declined, but the court insisted that he accepted it. In 281, he was appointed the
zhongshuzi to the Crown Prince and Cavalier In Regular Attendance. He also married
Wang Rong's daughter around this time.
Emperor Wu of Jin died in May 290 and was succeeded by his developmentally disabled son, Emperor Hui. That year, Pei Wei was made Principal of the Imperial University and General of the Army of the Right.
During Empress Jia's regency Emperor Hui's wife was Jia Chong's daughter, Jia Nanfeng. In 291, she launched a coup against her husband's regent,
Yang Jun. Yang Jun and his partisans were caught by surprise and were disarrayed. One of his partisans, Liu Yu () was coming to Yang Jun's aid when he encountered Pei Wei. Liu Yu asked Pei if he had seen Yang Jun, to which Pei lied to him and said, "I saw his carriage pass out through the Xiye Gate (), so I sent two men to follow him west." Liu Yu further asked him what he should do next, and Pei Wei told him to meet the Minister of Justice. After Liu Yu left, an edict was made giving Pei Wei Liu Yu's positions, and he later camped himself at Wanchun Gate. After a series of events, Yang Jun was arrested and executed by Empress Jia. That same year, Empress Jia betrayed her ally, the Prince of Chu,
Sima Wei and had him executed as well. As Empress Jia consolidated her control over the government, she and her nephew
Jia Mi wondered if they should get rid of the minister, Zhang Hua as well. While they acknowledged that he posed no threat and was very talented, they were still undecided, so they consulted Pei Wei's advice. Empress Jia decided to leave Zhang Hua alone after Pei Wei agreed with their assessment. After this, Pei Wei was appointed a Palace Attendant. During Pei Wei's time in office, he presented an edict calling for the strengthening of scholarly education and for
Confucian Classics to be engraved on stone slabs. The Crown Prince,
Sima Yu, was also lectured on how to properly carry out offerings for
Confucius and rites for different events. In 293, Pei Wei ordered the son of
Xun Xu (who died in 289),
Xun Fan, to complete his father's task of restoring the bells and sounding-stones to be used in suburban temples and during court meetings in order to complete the institutional order of rites and music. Pei Wei also attempted to reform the Chinese measuring system, more particularly in the medical field, although his proposal for this was rejected. Pei Wei knew of Empress Jia's disdain for Sima Yu, who was not the Empress's biological son. To protect him, Pei Wei presented a petition asking to raise the title of Sima Yu's biological mother, Consort Xie Jiu (). He also asked to have the guards in the Eastern Palace to be increased to 10,000 strong. Pei Wei was transferred to the Masters of Writing, retaining his position as Palace Attendant. He was also appointed as Household Counsellor. Whenever Pei Wei was given a new position, he would always decline, sometimes having to submit more than ten memorials to explain himself in order to prevent offending anyone. Although Pei Wei was on good terms with Empress Jia, he was increasingly concerned with her deteriorating behaviour. Both Jia Mo and Zhang Hua felt the same as well, and the three men collaborated to deal with the problem. Zhang Hua and Jia Mo were worried that if the Empress remained in power, disaster was bound to happen to them and the court. Pei Wei suggest that they wait for a pretext, as many officials in the palace were comfortable with how the regime was doing. In the end, Zhang Hua suggested that Jia Mo and Pei Wei, being the close to the Empress, attempt to inform the Empress and the others to be wary. Pei Wei did his part by convincing Empress Jia's mother, Guo Huai to advise her daughter to treat Sima Yu kindly, while Jia Mo personally warned Empress Jia. However, the plan failed, as Empress Jia refused to listen to either Guo Huai or Jia Mo, and Jia Mo would die in 299. In August 299, Pei Wei was made Supervisor of the Masters of Writing. Although Pei Wei often refused new positions, he was also afraid of losing the ones that he had. Due to the death of Jia Mo, Pei Wei was assigned to handle affairs below the gates. Pei Wei tried to refuse this by submitting a petition expressing concern that appointing another family member in place of Jia Mo would appear selfish. However, his petition was rejected. Even so, under his new office, Pei Wei pushed for penal reforms together with
Liu Song.
Sima Yu affair and death On February 6, 300, Sima Yu was falsely accused of plotting to go against his father after he was tricked into writing a threatening edict. Both Zhang Hua and Pei Wei were in disbelief when they heard of this. Pei Wei in particular asked for the edict to be verified thoroughly, so Empress Jia presented Sima Yu's letters for the court ministers to compare with. Even after close inspection, many were too afraid to point out the differences in writing (Sima Yu had written the edict in a drunken state, so Empress Jia had to edit some unfinished words). Sima Yu was demoted to a commoner, but on April 27, Empress Jia, at the advice of the Prince of Zhao, Sima Lun, had the former Crown Prince assassinated. Empress Jia and her partisans did not know that Sima Lun was actually in a plot to overthrow them. On May 7, Sima Lun launched his coup and had the Empress deposed. Sima Lun and his advisor,
Sun Xiu had always hated Pei Wei and Zhang Hua after they refused to give their titles to Lun and Sun in 296. Because of this, Pei Wei and Zhang Hua were among the many ministers that the duo rounded up to be executed. Pei Wei was 34 years old (by
East Asian age reckoning) at the time of his death. Following the fall of Sima Lun in 301, Pei Wei was posthumously restored to his positions. He was given the posthumous name of "
Cheng ()". == Philosophy ==