Emperor Gaozu of Tang (7 April 566 – 25 June 635), personal name Li Yuan, courtesy name Shude, Xianbei name Daye Yuan, was the founding emperor of the Tang dynasty of China, reigning from 618 to 626 CE. Under the Sui dynasty, Li Yuan was the governor in the area of modern-day Shanxi, and was based in Taiyuan.
In 615, Li Yuan was assigned to garrison Longxi. He gained much experience by dealing with the Göktürks of the north and was able to pacify them. Li Yuan was also able to gather support from these successes and, with the disintegration of the Sui dynasty in July 617, Li Yuan – urged on by his second son Li Shimin (李世民, the eventual Emperor Taizong) – rose in rebellion. Using the title of "Great Chancellor" (大丞相), Li Yuan installed a puppet child emperor, Yang You, but eventually removed him altogether and established the Tang dynasty in 618 with himself as emperor. His son and successor Li Shimin honoured him as Gaozu ("high founder") after his death.
