Zhu Wen forces Emperor Ai into abdicating, ending the Tang dynasty after nearly three hundred years of rule.

Emperor Ai of Tang (27 October 892 26 March 908), also known as Emperor Zhaoxuan of Tang (), born Li Zuo, later known as Li Chu (Chinese: ; pinyin: L Ch), was the last emperor of the Tang dynasty of China. He reignedas but a puppet rulerfrom 904 to 907. Emperor Ai was the son of Emperor Zhaozong. He was murdered by Zhu Wen.

Emperor Ai ascended the throne at the age of 11 after his father, the Emperor Zhaozong, was assassinated on the orders of the paramount warlord Zhu Quanzhong in 904, and while Emperor Ai reigned, the Tang court, then at Luoyang, was under the control of officials Zhu put in charge. In 905, under the instigation of his associates Liu Can and Li Zhen, Zhu had Emperor Ai issue an edict summoning some 30 senior aristocrats at Baima Station (, in modern Anyang, Henan), near the Yellow River; the aristocrats were thereafter ordered to commit suicide, and their bodies were thrown into the Yellow River. He could do nothing to stop Zhu from murdering his brothers and mother in the same year. Less than two years later in 907, Zhu made his final move against Emperor Ai himself, forcing the young emperor to abdicate to him. In Zhu's new Later Liang, the former Tang emperor carried the title of Prince of Jiyin, but in 908, Zhu had the prince poisoned, at the age of 15.

Emperor Taizu of Later Liang (後梁太祖), personal name Zhu Quanzhong (朱全忠) (December 5, 852 – July 18, 912), né Zhu Wen (朱溫), name later changed to Zhu Huang (朱晃), nickname Zhu San (朱三, literally, "the third Zhu"), was a Chinese military general, monarch, and politician. He was a Jiedushi (military governor) and warlord who in 907 overthrew the Tang dynasty and established the Later Liang as its emperor, ushering in the era of the Five Dynasties and Ten Kingdoms. The last two Tang emperors, Emperor Zhaozong of Tang (Li Jie) and Emperor Ai of Tang (Li Zuo), who "ruled" as his puppets from 903 to 907, were both murdered by him.

Zhu Wen initially served as a general under the rebel Huang Chao, but defected to the weakened Tang dynasty in 882. Taking advantage of the total chaos in the wake of Huang Chao's defeat, Zhu Wen was able to conquer parts of central China after destroying warlords such as Qin Zongquan, Shi Pu, Zhu Xuan, and Zhu Jin, although most of Shaanxi, Shanxi, and Hebei remained outside his reach, controlled by rival states Qi, Jin, and Yan respectively. Most of his later campaigns were directed at the Shatuo-ruled Jin state (later to become the Later Tang) based in Shanxi, but they failed because of the Jin leaders, Li Keyong and his son Li Cunxu. Due to his emphasis on unifying the north, Taizu was not able to make any inroads into southern China. Southern China came to be controlled by about seven different states, and the ruler Yang Wu and Former Shu was not submissive to him.

Zhu Wen used a combination of strict enforcement, ruthless violence and solicitation to ensure his officers stayed loyal to him. Zhu Wen was also a notorious sexual predator who raped not only the wives of his officers Yang Chongben and Zhang Quanyi, but also his own daughters-in-law. Zhu Wen's reign came to an end in 912 when he was murdered in his palace by his son Zhu Yougui, whom he begot with a prostitute.