Emperor Zhongzong died suddenly in 710—a death that traditional historians believed to be a poisoning carried out by Empress Wei and her daughter Li Guo'er the Princess Anle, so that Empress Wei could become "emperor" like Wu Zetian and Li Guo'er could be crown princess. Meanwhile, though, Emperor Zhongzong's son by a concubine, Li Chongmao the Prince of Wen, was named emperor (as Emperor Shang), but Empress Wei retained power as empress dowager and regent. Song Jing was made the secretary general of Luo Prefecture (), which contained the eastern capital Luoyang. Less than a month later, Empress Dowager Wei and Li Guo'er were killed in a coup led by Emperor Zhongzong's sister Princess Taiping and nephew Li Longji the Prince of Linzi. Li Longji's father Li Dan the Prince of Dan, himself a former emperor, returned to the throne (as Emperor Ruizong).