窦唯
In spring 618, Emperor Yang was killed during a coup at Jiangdu (江都, in modern Yangzhou, Jiangsu) led by the general Yuwen Huaji, and when the news reached Chang'an, Li Yuan had Yang You yield the throne to him, establishing Tang Dynasty as its Emperor Gaozu. He made Dou Wei the head of the legislative bureau (內史令, "Neishi Ling"), considered one of the posts for a chancellor. Dou became ill later that month and died. Emperor Gaozu posthumously created him the Duke of Yan'an.