Shangguan Wan'er
Wu Zetian was overthrown in a coup in 705 led by the officials Zhang Jianzhi, Cui Xuanwei, Jing Hui, Huan Yanfan, and Yuan Shuji. Zhang Yizhi and Zhang Changzong were killed in the coup, and Emperor Zhongzong was restored to the throne; Wu Zetian was sent to a secondary palace under heavy guard, and while she also retained the title of "emperor," no longer had power. By that time, Wu Sansi had been carrying out an affair with Wu Zetian's secretary and Emperor Zhongzong's concubine Consort Shangguan Wan'er. Through her introduction, Wu Sansi began an affair with Emperor Zhongzong's wife Empress Wei as well and also became a trusted advisor to Emperor Zhongzong who, while he was restored through the efforts of Zhang Jianzhi and his colleagues, feared them. In addition, Wu Sansi's son Wu Chongxun (武崇訓) had been married to Emperor Zhongzong's and Empress Wei's daughter Li Guo'er the Princess Anle, who also had much power in her father's administration.