 
 <translate> The important part for answering this question is: 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). So, the answer is Emperor Ai of Tang. <hau> Muhimmin bangare don amsa wannan tambayar shine: A cikin 907 daular Tang ta ƙare lokacin da Zhu Wen, yanzu gwamnan soja, ya sauke sarki na ƙarshe na Tang, Sarkin sarakuna Ai na Tang, kuma ya hau gadon sarauta don kansa (wanda aka sani da Sarkin sarakuna Taizu na Daga baya Liang). Amsar ita ce Sarkin sarakuna Ai na Tang. 