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.
Administrative divisions of the Tang dynasty
The court made slow progress in stamping out the rebellion due in large extent to the deterioration of central authority. The reigning sovereign Tang Xizong was subject to constant manipulation by eunuch officers like Tian Lingzi. Although the rebellion was finally defeated in 884, the court continued to face challenges posed by the warlords—officially military commissioners who held enormous regional power, including Li Maozhen in Fengxiang (Qizhou, Jingji 京畿), Li Keyong in Taiyuan (Bingzhou, Hedong), Wang Chongrong in Hezhong (Puzhou, Hedong), and Zhu Wen in Bianzhou, Henan. The country was constantly torn by the tug-of-war between the eunuchs and the warlords. The eunuchs used their physical control of the emperor as leverage to stay in power and carry out their agenda. The warlords wanted to purge the court of eunuch influence. Against this hopeless backdrop, the penultimate sovereign of Tang, Zhaozong, ascended the throne in 888, and although a man of lofty ambition, he remained throughout his reign a mere puppet in the machinations of court politics.