After Li Shimin came to power, Emperor Taizong knew how to do his duty well, listened to the opinions of ministers with an open mind, paid attention to the lives of ordinary people and the development of agriculture, and the national economy recovered well, eventually creating the "rule of Zhenguan". At that time, the Tang Dynasty was very prosperous. Later, after Tang Gaozong and Li Zhi came to power, in order to inherit the legacy of "Zhenguan rule", he also created a very prosperous era, which was called "Yonghui rule" in history, so that ordinary people could live and work in peace and contentment.
Later, after the reign of Emperor Xuanzong of the Tang Dynasty in Li Longji, he rectified some corrupt smells in the imperial court, showed great concern for the lives of ordinary people, put down foreign aggression against the country, and promoted the development of the national economy. At that time, many foreigners came to the Tang Dynasty to do business, which made the Tang Dynasty reach its peak. Due to long-term stability, Emperor Xuanzong of the Tang Dynasty began to indulge in pleasure, fell in love with Yang Guifei, and his love for Yang Guifei reached the extreme. Later, Emperor Xuanzong of the Tang Dynasty was abandoned politically. As a result, many corrupt officials appeared in the court, which eventually led to the Anshi Rebellion. The eight-year Anshi Rebellion caused serious losses to the national strength of the Tang Dynasty, and then the Tang Dynasty began to decline.