Guo Chongtao
Duan's masterplan, however, was revealed by the Later Liang officer Kang Yanxiao, who defected to Later Tang around this time. Under the advice of Kang and Guo Chongtao, Emperor Zhuangzong, instead of taking up Duan's challenge, took his main forces and swiftly went to Yun Prefecture to rendezvous with Li Siyuan, and then confronted the smaller army that Wang and Zhang commanded. He defeated them and took them captive, and, with their army being the only thing that stood between him and Daliang, quickly advanced toward Daliang. With Duan's army trapped north of the Yellow River and unable to return to Daliang to defend it, Zhu Zhen, believing capture to be imminent, committed suicide, ending Later Liang. Duan subsequently surrendered to Emperor Zhuangzong, whose Later Tang state then took over all of Later Liang territory.