Prince of Dai
Another rebel, Li Yuan declared rebellion in fall 617, and Liu Wenjing suggested that he, who was still ostensibly claiming to be loyal to Sui but wanting to support Emperor Yang's grandson Yang You the Prince of Dai, then at Chang'an, as emperor, should change his banners from the regular Sui banners to distance himself from Emperor Yang, while seeking an alliance with Eastern Tujue for support. Li Yuan agreed, and sent Liu to Eastern Tujue to meet with the Shibi Khan. When khagan asked him what Li Yuan's intention was, Liu responded: