Cui Xuanwei
In spring 705, with Wu Zetian being ill, Zhang entered into a plot with a number of officials and generals, including Cui Xuanwei, Huan Yanfan, Jing Hui, and Yuan Shuji, to kill Wu Zetian's lovers Zhang Yizhi and Zhang Changzong, who had become powerful much to the distaste of the chancellors. Zhang reminded Yang of his prior desire to restore Tang, and put him, Huan, Jing, and a general who agreed to the plot, Li Dan (), in charge of some of the corps of the imperial guards. He further persuaded the ethnically Mohe general Li Duozuo to join the plot as well, persuading Li Duozuo, who felt indebted to Emperor Gaozong for having promoted him, that Zhang Yizhi and Zhang Changzong were endangering the positions of Emperor Gaozong's sons with Wu Zetian, Li Xian the Crown Prince and Li Dan the Prince of Xiang (note different character than the general). He also received agreement from Yao. With agreement from Li Xian as well, the coup leaders acted on February 20, killing Zhang Yizhi and Zhang Changzong, and then surrounding Wu Zetian. She, in fear, asked, "Who is disturbing me?" Zhang Jianzhi responded, in a formalistic manner: