 Subsequently, when Yuwen Huaji was further forced to retreat to Liaocheng (聊城, in modern Liaocheng, Shandong), Yuwen Shiji and Feng Deyi requested permission to leave Liaocheng to collect food supplies, and the supplies he obtained allowed Yuwen Huaji to withstand attacks from the Tang general Li Shentong (李神通, Emperor Gaozu's cousin).Later, however, Yuwen Huaji was attacked by another rebel ruler, Dou Jiande the Prince of Xia, and Dou captured Liaocheng in spring 619, executing Yuwen Huaji and Yuwen Zhiji.