After the death of Dong Zhuo, rumours spread that Wang Yun, now the "de facto" head of the Han central government, wanted to purge and execute all of Dong Zhuo's former subordinates. When Wang Yun refused to grant amnesty to Dong Zhuo's former subordinates, they took up arms under the leadership of Li Jue and Guo Si, who led them to attack Chang'an. Li Jue and Guo Si defeated the Han imperial forces guarding Chang'an and occupied the capital. While Lü Bu was planning to flee Chang'an before the city fell, he asked Wang Yun to escape together with him. However, Wang Yun refused to abandon Emperor Xian and remained behind. Li Jue and Guo Si's forces captured him and killed him along with his family. Some of Wang Yun's relatives managed to escape and survive; one of them was Wang Ling, a nephew of Wang Yun, who later became a general in the state of Cao Wei during the Three Kingdoms period.