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.
Yang Wu
Yang Xingmi died in 905 and was succeeded by his oldest son Yang Wo. In 907 Zhu Wen forced the last Tang emperor to abdicate and proclaimed himself the first emperor of the Later Liang. Yang Wo refused to acknowledge this change and continued the use of the last reign name of Tang. From this point Wu was an independent, sovereign entity.