Jiancheng briefly flirted the idea of occupying Chang'an and not accepting the order, but eventually reported to Renzhi Palace to request forgiveness. Emperor Gaozu put him under arrest. When Yang heard this, Yang rebelled, and Emperor Gaozu, after promising Li Shimin that he would be made crown prince, sent Li Shimin to attack Yang. (Under Emperor Gaozu's promise, Li Jiancheng would be removed as crown prince and created the Prince of Shu instead. He would then send Li Jiancheng to the modern Sichuan region.) Once Li Shimin left, however, Li Yuanji, Emperor Gaozu's concubines, and the chancellor Feng Deyi, all spoke on Li Jiancheng's behalf, and Emperor Gaozu changed his mind, released Li Jiancheng, and allowed him to return to Chang'an and remain as crown prince. Instead, Emperor Gaozu only blamed the discord between his sons on Li Jiancheng's staff members Wang Gui and Wei Ting (), and Li Shimin's staff member Du Yan, exiling them. Yang was subsequently assassinated by his own subordinates. Another problem that Emperor Gaozu faced was constant Eastern Turkic incursions. Emperor Gaozu seriously considered burning Chang'an to the ground and moving the capital to Fancheng (, in modern Xiangfan, Hubei), a suggestion that Li Jiancheng, Li Yuanji, and the chancellor Pei Ji agreed with. Li Shimin opposed, however, and the plan was not carried out. Meanwhile, Li Shimin himself was sending his confidants to Luoyang to build up personal control of the army there. After an incident in which Li Shimin suffered a severe case of food poisoning after feasting at Li Jiancheng's palace—an event that both Emperor Gaozu and Li Shimin apparently interpreted as an assassination attempt—Emperor Gaozu considered sending Li Shimin to guard Luoyang to prevent further conflict, but Li Jiancheng and Li Yuanji, after consulting each other, believed that this would only give Li Shimin an opportunity to build up his personal power there, and therefore opposed it. Emperor Gaozu therefore did not carry out the plan. By 626, Li Shimin was fearful that he would be killed by Li Jiancheng, and his staff members Fang Xuanling, Du Ruhui, and Zhangsun Wuji were repeatedly encouraging Li Shimin to attack Li Jiancheng and Li Yuanji first—while Wei Zheng was encouraging Li Jiancheng to attack Li Shimin first. Li Jiancheng persuaded Emperor Gaozu to remove Fang and Du, as well as Li Shimin's trusted guard officers Yuchi Gong and Cheng Zhijie (), from Li