618 Li Yuan rose up and rebuilt a national feudal regime during the climax of the peasant uprising.
Li Yuan was a great nobleman in the Guanlong landlord group and was left behind in Taiyuan at the end of the Sui Dynasty. After a strong attack by the peasant uprising army, the demise of the Sui Dynasty was just around the corner. Li Yuan and his son secretly expanded their strength and plotted against the Sui Dynasty.

In June 617, Li Yuan and his son rose up from Taiyuan to the south. At that time, Emperor Yang of Sui was trapped in Jiangdu, and the Wagang army was besieging Luoyang , and the troops in Guanzhong were empty. Li Yuan led his troops to the west, heading straight to Chang'an , recruiting Hao Jun along the way, and following the talented people, "excluding more than a thousand people a day." Officials and people from all over the country responded, and soon more than 200,000 people were captured and Chang'an was captured in one fell swoop.
Li Yuan first established the grandson of Emperor Yang of Sui, Wang Yang You as Emperor Gong , and he was actually a puppet emperor, and he held real power as the prime minister. This move was conducive to winning the support of the old nobles, bureaucrats and landlords in various places in the Sui Dynasty.
Li Yuan Group has become increasingly stronger since then. In May 618, Li Yuan learned that Emperor Yang was killed and deposed Emperor Gong, and established himself as emperor, and established him as Tang Dynasty , which was the Tang Dynasty Gaozu , and his reign was Wude. After that, Li Yuan and his son joined the eastward Li Mi , North and Turkic , and concentrated their efforts to sweep away separatist forces such as Northwest Xue Ju , Li Gui and Liu Wuzhou . Then he went out to the east to compete for the Central Plains.
At that time, the Wagang Army was trapped by Sui general Wang Shichong , and Li Mi surrendered to the Tang Dynasty. In 620 (the third year of Wude) Li Shimin attacked Luoyang, defeated Wang Shichong, and forced him to surrender. In 621 (the fourth year of Wude), Dou Jiande fought with the Tang army, was injured and captured, and Hebei counties and counties returned to the Tang Dynasty one after another. Yellow River basin is basically owned by Tang.
At this time, he had already surrendered to the Tang Dynasty Du Fuwei and led his army to pacify the downstream of the Yangtze River . Jiangling Xiao Xian was besieged by Tang general Li Jing and was forced to surrender.
In 622 (the fifth year of Wude), the nine forces of the Tang Dynasty arrived in Jiangxi and Lingnan. In 624 (the seventh year of Wude), the Tang army successively pacified the resistance of Dou Jiande's remaining troops and Du Fuwei's remaining troops.
In 628 ( Tang Taizong in the second year of Zhenguan), the separatist forces of Shuofang Liang Shidu relied on the Turks as aid, but was still destroyed by the Tang Dynasty. At this point, Emperor Gaozu of Tang Dynasty Li Yuan successively suppressed peasant uprisings, cut down the separatist forces of landlords, and restored the rule of the landlord class across the country.
