代王
Toward the end of Emperor Yang's reign, Dou was commissioned with an army at Lingwu to secure the northern border. After Li Yuan rebelled against Emperor Yang in 617 and subsequently captured Chang'an, declaring Emperor Yang's grandson Yang You the Prince of Dai emperor (as Emperor Gong), Dou submitted to him in spring 618, along with the several commanderies he controlled in the region.