over power to his wife Empress Wu, but in fact Emperor Zhongzong due to depression due to house arrest, who suffered in the past, this encouraged him to hand over power to his wife and daughter. In 710, Emperor Zhongzong died, allegedly poisoned by Empress Wei, who then installed his son, Li Chongmao, as Emperor Shang. Empress Wei, who had failed to install her daughter Li Guo'er, the Princess Anle, as heir to Emperor Zhongzong, thought that Li Chongmao, born of Zhongzong and a concubine and who was only 16 years old, would be easy to control and allow her to preserve her power. The scheme failed, however, when Princess Taiping, the sister of Emperor Zhongzong, launched a coup two weeks later with her nephew Li Longji (later Emperor Xuanzong), son of the abdicated Emperor Ruizong, and overthrew Empress Wei and the young emperor. Emperor Ruizong, the father of Li Longji and the older brother of Princess Taiping, was restored as emperor. Background Li Xiǎn was born in 656, as the seventh son of his father Emperor Gaozong and the third son of his mother, Emperor Gaozong's second wife Empress Wu (later known as Wu Zetian). In 657, he was created the Prince of Zhou and nominally made the prefect of the eastern capital prefecture Luo Prefecture (洛州, roughly modern Luoyang, Henan). In 661, when his older brother Li Xián the Prince of Pei had the literarily-talented official Wang Bo on staff, the princes were apparently often engaged in cockfighting. Wang Bo wrote a playful piece entitled the Declaration Against the Prince of Zhou's Cock (), which, however, when Emperor Gaozong read it, caused Emperor Gaozong to be angry, as he believed this would cause discord between his sons, and therefore expelled Wang from the Pei mansion. However, in 674, a similar incident happened by Emperor Gaozong's own instigation—as, at an imperial feast, he divided the imperial musicians into two teams and had Li Xián and Li Xiǎn lead the two teams in competition—although he stopped when the chancellor Hao Chujun pointed out the potential for rivalry. Meanwhile, during the years that Li Xiǎn was the Prince of Zhou, he had married a daughter of his grandaunt the Princess Changle and her husband, the general Zhao Gui (), as his wife and princess. Emperor Gaozong had often shown favors to Princess Changle, and this displeased Empress Wu. In 675, on