Emperor Taizong of Tang (28 January 598 – 10 July 649), previously Prince of Qin, personal name Li Shimin, was the second emperor of the Tang dynasty of China, ruling from 626 to 649. He is traditionally regarded as a co-founder of the dynasty for his role in encouraging his father Li Yuan (Emperor Gaozu) to rebel against the Sui dynasty at Jinyang in 617. Taizong subsequently played a pivotal role in defeating several of the dynasty's most dangerous opponents and solidifying its rule over China proper.
Taizong is considered to be one of the greatest emperors in China's history, and henceforth his reign became regarded as the exemplary model for which all future emperors were measured. His era, the "Reign of Zhenguan" (Chinese: 貞觀之治; pinyin: Zhēnguàn Zhī Zhì) is considered a golden age in ancient Chinese history and was treated as required studying material for future crown princes. Taizong continued to develop imperial examination systems. He asked his officials to be loyal to policies, not people, in order to eliminate corruption. Under the Zhenguan era, Tang China flourished economically and militarily. For more than a century after his death, China enjoyed prosperity and peace brought about by the solidification of imperial protection over the Chinese regions. In territorial extent, it covered most of the territories previously held by the Han dynasty as well as parts of modern-day Korea, Vietnam, Russia, Mongolia, Xinjiang, and Central Asia. This era of consolidation and conquest laid the foundation for Xuanzong's reign, which is considered to be the height of the Tang dynasty.