During the Sui Dynasty, Taiyuan was the third largest city in China, second only to Chang 'an and Luoyang.
The powerful Tang Dynasty originated in Taiyuan, because Jinyang was called Tang Kingdom in ancient times. After Li Yuan and his son made Chang 'an their capital, they took "Tang" as their country name.
At the beginning of the Tang Dynasty, several emperors expanded Jinyang City several times and named it "the northern capital" and "Beijing" successively, and they were also called "the three capitals" and "the three capitals" with Chang 'an in Kyoto and Luoyang in the east. The five dynasties and ten countries with frequent wars, the late Tang Dynasty, the late Jin Dynasty, the late Han Dynasty and the northern Han Dynasty, either made their fortune in Jinyang or took it as their capital. Taiyuan was once famous all over the country and was called the "Three Capitals".
Three generations: Jin, Zhao and Northern Han.
Five Dynasties: Eastern Wei Dynasty, Northern Qi Dynasty, Tang Dynasty, Later Tang Dynasty and Later Jin Dynasty.
Nine emperors: Li Yuan, Li Shimin, Li Zhi, Li, Li Siyuan, Li Congke, Shi Jingtang, Liu Zhiyuan, Liu Chong,