After Jin'an had been under siege for three months and ran out of supplies, Zhang's deputy Yang Guangyuan assassinated Zhang and surrendered the remaining Later Tang army, which Emperor Taizong turned over to Shi. Then they began to march toward the Later Tang capital Luoyang. With Yang having surrendered, Zhao's army lost its morale and also collapsed, and Zhao surrendered. At that time, Li Congke, who had himself led another Later Tang relief force northward, decided to return to Luoyang, but once he returned to Luoyang saw that the morale was crumbling and that many more generals were already surrendering to the combined Khitan/Later Jin forces. Emperor Taizong escorted Shi to Lu Prefecture (潞州, in modern Changzhi, Shanxi), and then, citing his belief that the Han Chinese would panic if Khitan forces actually arrived at Luoyang, stayed at Lu while Shi approached Luoyang. Li Congke, finding the situation hopeless, committed suicide with his family. Prior to the suicide, he had Emperor Taizong's older brother Yelü Bei executed. Shi entered Luoyang and established his authority there. He had Yelü Bei's casket escorted with honor back to Khitan.