In 702, Wu Zetian had Li Xian, Li Dan, and Princess Taiping submit formal petitions to have Zhang Changzong created a prince. She then formally rejected the petitions but created Zhang Changzong and Zhang Yizhi dukes. In 703, a favorite official of Princess Taiping's, who might have been her lover, Gao Jian (高戩), was accused by the Zhangs of agreeing with the chancellor Wei Yuanzhong, whom the Zhangs had resented, that Wu Zetian was old and that it would be more secure to support the crown prince. Wu Zetian, in anger, had Wei and Gao arrested and subsequently exiled. During Emperor Zhongzong's second reign: Under Empress Wei's shadow In 705, a coup led by the officials Zhang Jianzhi, Cui Xuanwei, Jing Hui, Huan Yanfan, and Yuan Shuji killed Zhang Yizhi and Zhang Changzong and overthrew Wu Zetian, restoring Li Xian to the throne. Princess Taiping was said to be involved in the coup, and after Emperor Zhongzong's restoration, he gave her the special title of Zhenguo Taiping Gongzhu (鎮國太平公主) — literally "the Princess Taiping who secured the state." He also established her own luxurious palace, and she enjoyed five thousand households, so she became very much rich, therefore, her power skyrocketed and she found a say in court politics. Later, Emperor Zhongzong specially sent a number of Imperial Army guards to be stationed at Princess Taiping's mansion. An imperial guard was set up around her mansion and there were also many fully armed guards patrolling day and night to protect her and protecting her was a lot like protecting the emperor. This alone is enough to see Princess Taiping's exalted position in Emperor Zhongzong's reign. In 706, she, along with Emperor Zhongzong's daughters Princesses Changning, Anle (Li Guo'er), Yicheng, Xindu, and Ding'an, and Princess Jincheng (the daughter of Princess Taiping's nephew Li Shouli the Prince of Yong), were allowed to retain staffs, similar to imperial princes. As a result, they led a governmental structure, and the staffs and offices they held were part of a governmental mechanism and it was like setting up a government. She became one of the powerful women at court, although her power was rivaled by Emperor Zhongzong's wife Empress Wei and Li Guo'er. As a result, Princess Taiping with Empress Wei and Li Guo'er were engaged in party battles to seize power and eliminate each other. After Emperor Zhongzong ascended the throne, Empress Wei and