Tang dynasty
Zhu Wen, originally a salt smuggler who had served under the rebel Huang Chao, surrendered to Tang forces. By helping to defeat Huang, he was granted a series of rapid military promotions. In 907 the Tang dynasty was ended when Zhu Wen, now a military governor, deposed the last emperor of Tang, Emperor Ai of Tang, and took the throne for himself (known posthumously as Emperor Taizu of Later Liang). He established the Later Liang, which inaugurated the Five Dynasties and Ten Kingdoms period. A year later Zhu Wen had the deposed Emperor Ai poisoned to death.
Emperor Shunzong of Tang
Emperor Shunzong of Tang (761 – February 11, 806), personal name Li Song, was an emperor of the Chinese Tang Dynasty. He was created crown prince in 779 and became emperor in 805 after the death of his father Emperor Dezong, of whom he was the oldest son. His reign lasted less than a year, as, due to his illness, the powerful eunuchs were able to get him to approve a transfer of the throne to his son Li Chun, who took the throne as Emperor Xianzong. Emperor Shunzong was honored with the title of "Taishang Huang" (retired emperor). He died in 806, with some later historians suspecting that he was murdered by the eunuchs who arranged for Emperor Xianzong's succession.