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.
Huang Chao
Although Huang Chao was one of many rebel leaders in Chinese history, the impact of his rebellion can be compared to that of Taiping Rebellion or the Yellow Turbans. Huang Chao's rebellion greatly weakened Tang and it eventually led to the demise of the Tang dynasty in 907, by Huang Chao's former follower Zhu Wen, when he usurped the throne from Emperor Ai of Tang and initiating several decades of civil war called the Five Dynasties and Ten Kingdoms period.