张柬之
In 705, a coup led by Zhang Jianzhi, Cui Xuanwei, Jing Hui, Huan Yanfan, and Yuan Shuji overthrew Wu Zetian and restored Emperor Zhongzong to the throne. However, Wu Sansi, who was carrying on an affair with Empress Wei, became a trusted advisor of Emperor Zhongzong, and Zhang and his cohorts soon lost power (and eventually all were killed or died in exile in 706). Li Guo'er and Emperor Zhongzong's concubine Consort Shangguan Wan'er also became powerful figures. Li Guo'er, in particular, as she was favored by both Emperor Zhongzong and Empress Wei, was said to be powerful, arrogant, and corrupt.