Li Shimin, the second son of Li Yuan, was born in Jingzhao Martial Arts (now northwest of Shaanxi Martial Arts). Above him is the eldest brother Jian, and below him are the third brother Xuanba and the fourth brother Yuanji. In 6 15 ad, she was sixteen years old. She followed her father's instructions and married a famous girl, Shi. Stone is the famous grandson queen of later generations. When Li Shimin was eighteen years old, that is, in 6 17 AD, he set out from Taiyuan with his father Li Yuan. He led the troops to fight against his subordinates, and soon defeated the army of the Sui Dynasty, invaded Chang 'an and destroyed Sui. In the early Tang Dynasty, Li Shimin was the greatest contributor and was named "King of Qin".
After that, he often went to war and gradually eliminated the separatist forces in various places: he broke Li's way, killed Xue (the son of Xue Ju) and defeated Liu Wuzhou. The Battle of Hulaoguan wiped out two separatist forces in the Central Plains at that time: Wang He and Dou Jiande. Since then, Li Shimin's reputation has been growing. As he became more and more popular, the relationship between Li Shimin and his brother gradually became subtle. At this time, his third brother Xuanba was dead, and eldest brother Jian joined forces with fourth brother Yuanji to deal with him. They plotted to kill Li Shimin several times, but all failed.
At this time, ministers also fell in love and became two factions. Prime Minister Pei Zhi, counsellors Wang Jue, Wei Zhi, East Palace Guard General Xue Wanche, etc. They were all built by Yuan Ji school; Counselors Du Ruhui and Fang, generals Qin, Duan and so on, followed suit. Minister Sun Chang Wuji and others secretly supported Li Shimin. General Li Jing, Xu Shiqi, Minister Yu and others remain neutral.
In 6 18 AD, Tang Dynasty was established by Li Yuan, and Li Jian was appointed as the prince. It was Li Shimin's strategy that appeared in Taiyuan, and Li Yuan promised him to be a prince. But after world peace, Li Shimin became more and more famous, but Tang Gaozu hesitated. Prince Li Chengjian immediately joined his fourth brother, King Li Yuanji, to crowd out Li Shimin. Tang Gaozu's indecision also made the decrees of the DPRK and China conflict with each other, which accelerated the confrontation between philosophers. Li was poisoned once. In the ninth year of Wude, the Turks invaded the border. Li Xiang suggested that commander Li Yuanji should go to the Turks to seize the military forces of the King of Qin and prepare to ambush in Kunming Pool. Wang Chang, the head of the Prince's Mansion, told the king of Qin about this secret meeting. Li Shimin decided to make a last-ditch effort at the critical moment and take the initiative. On June 4th, 6 18, he suddenly launched a mutiny in Xuanwu Gate, killing his eldest brother Li and his fourth brother Li Yuanji first.
On the ninth day of August of that year, he forced his father Li Yuan to abdicate and acceded to the throne for Emperor Taizong. The following year, the title was changed to "Zhenguan", which began his 23-year rule.
During the reign of Li Shimin, the national power of the Tang Dynasty was very strong. He humbled coachable, thrifty and frivolous, so that the people can recuperate, all ethnic groups live in harmony, enrich the country and strengthen the people, expand the territory, attack and destroy East Turkistan and Xueyantuo, hit Goguryeo hard, set up four towns in Anxi, and was honored as Tiankhan by people of all ethnic groups, which laid an important foundation for the prosperity of Kaiyuan in the heyday of the Tang Dynasty.
In 649 AD, Li Shimin suffered from dysentery, and the treatment was ineffective. He died in the windy temple in May of the following year. After his death, he was buried on a mountain peak more than 50 miles northeast of Liquan County, Shaanxi Province, which was called Zhaoling. The name of this temple is Emperor Taizong and Emperor Taizong Xiaoguang, and posthumous title is a great sage with both civil and military skills.