Pei Ji (裴垍) (died 811[1]), courtesy name Hongzhong (弘中), was an official of the Chinese Tang dynasty, serving as a chancellor during the reign of Emperor Xianzong.
[2] His biography in the Old Book of Tang gave no immediate ancestors' names, but indicated that he was the seventh-generation descendant of the chancellor Pei Judao, who had served during Emperor Ruizong's first reign.
He was also made Kaogong Langzhong (考功郎中), a supervisorial official at the ministry of rites, and put in charge of drafting edicts for Emperor Xianzong.
They suggested that the wealth be used to substitute for tax revenues that would have been collected from the people of Zhenhai Circuit for that year, and Emperor Xianzong agreed.
[5] In summer 808, Emperor Xianzong held a special imperial examination for examinees to submit criticism of the government.
Niu Sengru, Huangfu Shi (皇甫湜), and Li Zongmin were considered to have written criticisms that were particularly on point and were ranked the highest by the officials in charge of grading, Yang Yuling (楊於陵) and Wei Guanzhi.
Also in 809, after Pei pointed out that Yan Shou (嚴綬) the military governor of Hedong Circuit (河東, headquartered in modern Taiyuan, Shanxi) was not capable and that his circuit was, in effect, run by the eunuch monitor Li Fuguang (李輔光), Emperor Xianzong recalled Yan to Chang'an and replaced him with Li Yong, at Pei's recommendation.
[5] Later in 809, the warlord Wang Shizhen the military governor of Chengde Circuit (成德, headquartered in modern Shijiazhuang, Hebei) died.
Emperor Xianzong, encouraged by his prior success against Li Qi and Liu Pi, considered taking control of the circuit by force.
[5] Not sure what to do, Emperor Xianzong sent the deputy mayor of Jingzhao, Pei Wu (裴武), to Chengde, to meet with Wang and to observe the situation.
As a result, Tutu was stripped of his title as commander of the imperial Shence Army (神策軍) and made the director of munitions (軍器使, Junqishi).