Two months after the Incident at Xuanwu Gate, Emperor Gaozu yielded the throne to Li Shimin, who took the throne as Emperor Taizong. Later that year, when Eastern Tujue's Jiali Khan Ashina Duobi launched a major attack against Tang, Yuchi was one of the generals sent to resist Eastern Tujue; he was able to defeat and kill an Eastern Tujue general that he faced. (Ashina Duobi, however, was able to penetrate all the way to the Tang capital Chang'an, forcing Emperor Taizong to personally meet him and promising large tributes before withdrawing.) Late in 626, Emperor Taizong created Yuchi Jingde the Duke of Wu and gave him, Zhangsun Wuji, Fang Xuanling, and Du Ruhui the largest fiefs among his supporters.