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.
Wang Yanzheng
Wang Yanzheng (王延政) (died 951?), known as Tiande Emperor (天德帝) after his era name of Tiande, formally Prince Gongyi of Fu (福恭懿王), also known during Min as the Prince of Fusha (富沙王), was the last ruler of the Chinese Five Dynasties and Ten Kingdoms Period state Min. In 943, he, then in civil war with his brother Wang Yanxi (Emperor Jingzong), declared himself emperor of a new state of Yin at his base Jian Prefecture (建州, in modern Nanping, Fujian), but after Wang Yanxi was killed by the general Zhu Wenjin, who was himself assassinated thereafter, Wang Yanzheng reclaimed the title of Emperor of Min. His reign would last less than three years overall, though, as Min's northwestern neighbor Southern Tang bore down militarily on him and forced his surrender, ending Min.