宋璟
That trip to Luoyang, however, would indirectly lead to Wei's fall. By this point, Yao Chong, who had previously served as Wei's superior during Wu Zetian's reign, was again chancellor and was well-trusted by Emperor Xuanzong. While Wei was in Luoyang, two of Yao's sons, then serving as officials at Luoyang, were accepting bribes and using their father's connections with Wei to make requests of Wei, displeasing Wei. Further, Yao aggravated Wei by having Song Jing review the decisions that Wei made while at Luoyang. After Wei returned to Chang'an, he reported what had happened with Yao's sons in Luoyang. Emperor Xuanzong summoned Yao, initially ready to question him, but Yao realized what had happened and preemptively reported on his sons, implying that his sons had only dared to make requests of Wei because of Yao's own good treatment of Wei when Wei was a subordinate. Emperor Xuanzong, now believing that Wei was ungrateful, wanted to remove Wei, but ultimately only demoted Wei to be the minister of public works (工部尚書, "Gongbu Shangshu"), no longer a chancellor. Wei died in 715.