杜佑
In spring 805, Emperor Dezong died, and Li Song succeeded him (as Emperor Shunzong). At that time, Li Song was seriously ill, and a group of his close associates, headed by Wang Shuwen and Wang Pi, in association with his concubine Consort Niu and the eunuch Li Zhongyan (), became very powerful. Wang Shuwen, in order that his reform policies could be carried out, recommended Wei as chancellor. Shortly thereafter, Emperor Shunzong made Wei, who was then "Libu Langzhong" (), a supervisorial official at the ministry of civil service affairs (吏部, "Libu"), was promoted to be "Shangshu Zuo Cheng" (), one of the secretaries general of the executive bureau (尚書省, "Shangshu Sheng") and given the designation "Tong Zhongshu Menxia Pingzhangshi" (), making him a chancellor. It was said that when important decisions were to be made, they would be given to Wang Shuwen to be decided at the office of the imperial scholars (翰林院, "Hanlin Yuan") and then given to Wei to be executed. On an occasion, when the chancellors, as per custom, were having lunch together, Wang wanted to see Wei and went to the office of the chancellors to do so. When a guard refused to let Wang in, Wang rebuked the guard and ordered him away. Wei rose from his seat and walked away to confer with Wang. Wei's colleagues Zheng Xunyu, Du You, and Gao Ying stopped dining and waited for Wei to return. After a while, they sent the guard to see what the situation was, and the guard stated, "Wang Shuwen had requested food, and Chancellor Wei is dining with him." Neither Du nor Gao dared to say anything, but Zheng stated, "How can I remain here still?" He had his attendants fetch horses, and he went home and refused to return to office.