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 Muzong of Tang
Emperor Muzong of Tang (July 26, 795 – February 25, 824), personal name Li Heng, né Li You (李宥) (name changed 812), was an emperor of the Tang Dynasty of China. He reigned from 820 to 824. Emperor Muzong was the son of Emperor Xianzong. He was created crown prince in 812 during the reign of Emperor Xianzong and, after Emperor Xianzong was allegedly assassinated by a eunuch, Li Heng was proclaimed emperor in 820.