Princess Taiping
Meanwhile, Zong feared Li Dan and Princess Taiping, and was advocating to Empress Dowager Wei and Wei Wen that Li Dan and Princess Taiping should be killed. At the same time, though, Princess Taiping and Li Dan's son Li Longji had received news of this and were planning a coup—which was facilitated by that Wei Bo and Gao were alienating the imperial guards by being harsh to the guards, trying to establish their authority. Li Longji took this opportunity to encourage the guard commanders to rise against the Wei party, and on July 21, Princess Taiping and Li Longji, with the imperial guards' support, rose in rebellion, killing Empress Dowager Wei and Li Guo'er. Li Dan was named regent. Wei Xuan, Wei Bo, and Gao were killed on during the coup, but Wei Wen was not executed until July 24, for reasons unclear in history. After his death, his clan was massacred.