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.
Meng Zhixiang
In 907, Zhu Quanzhong had Tang's final emperor Emperor Ai yield the throne to him, ending Tang and starting a new Later Liang with him as its Emperor Taizu. Li Keyong and several other regional governors (Yang Wo the military governor of Huainan Circuit (淮南, headquartered in modern Yangzhou, Jiangsu), Li Maozhen the military governor of Fengxiang Circuit (鳳翔, headquartered in modern Baoji, Shaanxi), and Wang Jian the military governor of Xichuan Circuit) refused to recognize the new Later Liang emperor, with Li Keyong, Li Maozhen, and Yang continuing to maintain the Tang era name of "Tianyou", while Wang shortly after declared himself the emperor of a new state of Former Shu, although Li Keyong was effectively the ruler of his own state of Jin as he carried the title of Prince of Jin. In 908, Li Keyong died and was succeeded as the Prince of Jin by his son Li Cunxu.