 <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. <yor> Apá pàtàkì fún ìdáhùn sí ìbéèrè yìí ni pé: Ní ọdún 907 ìjọba Tang dópin nígbà tí Zhu Wen, tó ti di gómìnà ológun báyìí, yọ Olú Ọba tó kẹ́yìn ti Tang, Olú Ọba Ai ti Tang, kúrò lórí oyè, ó sì gba ìtẹ́ fún ara rẹ̀ (tí a mọ̀ lẹ́yìn ikú rẹ̀ gẹ́gẹ́ bí Olú Ọba Taizu ti Liang tó tẹ̀ lé e). Nítorí náà, ìdáhùn náà ni Olú Ọba Ai ti Tang. 