齐王
In spring 618, Emperor Yang, then at Jiangdu (江都, in modern Yangzhou, Jiangsu), was killed in a coup led by the general Yuwen Huaji. When the news arrived at Chang'an, Li Yuan had Yang You yield the throne to him, establishing Tang Dynasty as its Emperor Gaozu. He created Li Yuanji the Prince of Qi.