Cui Xuanwei
In spring 705, with Wu Zetian being ill, Cui entered into a plot with a number of officials and generals, including Zhang Jianzhi, Cui Xuanwei, Huan Yanfan, and Jing Hui, to kill her lovers Zhang Yizhi and Zhang Changzong. With agreement from Li Xian the Crown Prince (Wu Zetian's son and Li Dan's older brother), they acted on February 20, killing Zhang Yizhi and Zhang Changzong, and then surrounding Wu Zetian. While they allowed her to retain the title of "emperor," they had her put under house arrest at the secondary palace Shangyang Palace (上陽宮) and forced her to yield the throne to Li Xian, who was formerly emperor, and he was restored to the throne (as Emperor Zhongzong). During the coup, Yuan's responsibility was to accompany Li Dan and make sure that no unusual incidents would happen involving Li Dan, and after coup was successful, Yuan was immediately made, by an edict issued in Wu Zetian's name, "Fengge Shilang" (鳳閣侍郎), the deputy head of the legislative bureau of government (鳳閣, "Fengge") and given the designation "Tong Fengge Luantai Pingzhangshi" (同鳳閣鸞臺平章事). Two days later, Emperor Zhongzong was formally restored.