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 Wenzong of Tang
Emperor Wenzong of Tang (809–840), personal name Li Ang, né Li Han (李涵), was an emperor of the Tang dynasty of China. He reigned from 827 to 840. Emperor Wenzong was the second son of Emperor Muzong and younger brother of Emperor Jingzong. A rare occurrence in Chinese history, Emperor Wenzong, along with his elder brother Emperor Jingzong and younger brother Emperor Wuzong, reigned in succession.