太平公主
Less than a month later, a coup led by Princess Taiping and Li Dan's son Li Longji the Prince of Linzi killed Empress Dowager Wei and Li Guo'er. Under urging by Princess Taiping, Li Longji, and Li Longji's brother Li Chengqi the Prince of Song, Li Dan, who had been himself a former emperor, took the throne again (as Emperor Ruizong), and Emperor Shang was reduced back to being the Prince of Wen.