 
<translate> Zhu Wen, asalin mai safarar gishiri wanda ya yi aiki a ƙarƙashin ɗan tawayen Huang, ya mika wuya ga sojojin Tang. Ta hanyar taimakawa wajen kayar da Huang, an ba shi jerin ci gaba na soja da sauri. 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 Liang na baya). Ya kafa Later Liang, wanda ya kaddamar da daular daular biyar da daular goma. Bayan shekara guda sai Zhu Wen ya sa aka yi wa Sarki Ai da aka tsige guba har ya mutu.  Amsa wannan tambaya bisa ga nassi: wanene sarki na karshe na daular Tang? Okie... Ka yi tunani sosai da farko, sannan ka yanke shawara: <eng> Zhu Wen, originally a salt smuggler who had served under the rebel Huang, 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.

Answer this question based on the passage: who was the last ruler of the tang dynasty? Okie... think carefully first, then make a decision: 