Emperor Ai
Zhu Wen initially allied himself as Huang Chao's lieutenant. However, he took Huang's best troops and established his own power base as a warlord in Kaifeng. By 904, he had exerted control over both of the twin Tang Dynasty capitals of Chang'an and Luoyang. Tang emperor Zhaozong was ordered murdered by Zhu in 904 and the last Tang emperor, Ai Di (Emperor Ai of Tang), was deposed three years later. Emperor Ai of Tang was murdered in 908, also ordered by Zhu.