Wang Wujun
After the defeat, Li Weiyue was even more suspicious of Wang, but his advisors pointed out that there was no one other than Wang who would be capable to command the army. Li Weiyue thus commissioned Wang, assisted by Wei Changning (), to attack Zhao Prefecture, and put Wang Shizhen in charge of security at headquarters. Wang Wujun was relieved to get to leave Heng Prefecture, and once he exited the city, initially wanted to flee to Zhang. Wei pointed out that Emperor Dezong had issued an edict promising to give the offices that Li Weiyue wanted to whoever would cut off Li Weiyue's head and advocated for an attack on Li Weiyue. Wang Wujun thus notified Wang Shizhen and involved Li Weiyue's close associate Xie Zun () in the plot at well. He made a surprise attack against Heng Prefecture, and Wang Shizhen and Xie opened the city gates to welcome him. Wang Wujun killed Li Weiyue and his associates and surrendered to the imperial government.