Taiyuan (Taiyuan Jin: ) is the capital of Shanxi, China. It is the political, economic, cultural, and international exchange center of the province, containing an industrial base focusing on energy and heavy chemicals. Throughout its long history, Taiyuan was the capital or provisional capital of many dynasties in China, hence the name ().
As of 2021, the city governed six districts and three counties, with a total area of 6,988 square kilometers and a permanent population of 5,390,957.
Taiyuan is located roughly in the centre of Shanxi, with the Fen River flowing through the centre of the city.
Etymology and names
The two Chinese characters of the city's name are (, "great") and (, "plain"), referring to the location where the Fen River leaves the mountains and enters a relatively flat plain. Throughout its long history, the city had various names, including () (from which its abbreviated single-character name () is derived), (), and ().
During the Tang and subsequent Five Dynasties, the status of the city of Taiyuan was elevated to be the northern capital, hence the names () and (, different from present-day Beijing).
History
Taiyuan is an ancient city with more than 2,500 years of urban history, dating back to 497 BC. It was the capital or secondary capital (, ) of Zhao, Former Qin, Eastern Wei, Northern Qi, Northern Jin, Later Tang, Later Jin, Later Han, and Northern Han. Its strategic location and rich history make Taiyuan one of the economic, political, military, and cultural centers of northern China.
In 497 BC, the first ancient city of Jinyang was built around the southern Jinyuan district of present-day Taiyuan by Dong Anyu (), who was a steward of (), an upper-level official of the state of Jin.
During the Battle of Jinyang in 453 BC, Zhi Yao diverted the flow of the Fen River to inundate the city of Jinyang, causing significant damage to the Zhao. Later, Zhao Xiangzi alerted the Wei and Han, who both decided to ally with the Zhao. On the night of 8 May 453 BC, Zhao troops broke the dams of the Fen River and let the river flood the Zhi armies, which they eventually annihilated, with help from the Wei and Han.
The partition of Jin happened in 403 BC, when the state of Jin, then a strong power in northern China, was divided into the three smaller states of Han, Zhao, and Wei. This event is the watershed between the Spring and Autumn and Warring States periods in Chinese history.
Qin dynasty
In 248 BC, the state of Qin attacked Zhao under General Meng'ao and obtained the area around Jinyang. Qin set up the Commandery of Taiyuan (), with the city of Jinyang as its administrative center. Although the name "Taiyuan" had appeared in historic records before, potentially referring to different regions in present-day southern and central Shanxi, this was the first time the name was officially used to refer to what is today Taiyuan.
Jin dynasty and Sixteen Kingdoms
During the Jin dynasty, Taiyuan was again transformed into a vassal state. Following the ending of the Jin dynasty, ethnic minority peoples settled a series of short-lived sovereign states in northern China, commonly referred to as Sixteen Kingdoms. Taiyuan was part of Former Zhao, Later Zhao, Former Qin, Former Yan, Former Qin again, Western Yan, and Later Yan, chronologically.
In 304, Liu Yuan founded the Xiongnu state of Former Zhao, whose army raided the area around Taiyuan for years and eventually conquered it in 316. In 319, Taiyuan became part of Later Zhao, founded by Shi Le. It was then obtained by Former Yan in 358 and by Former Qin in 370.
Fu Jian died in 384. His son Fu Pi declared himself an emperor in 385, with Jinyang as his capital. The following year, he was defeated by the Western Yan prince Murong Yong, and Taiyuan became part of Western Yan.
Southern and Northern Dynasties
thumb|A sitting [[bodhisattva statue originally from Tianlongshan Grottoes, currently at Rietberg Museum in Zürich, Switzerland|center]]
In 386, Tuoba Gui founded Northern Wei. In 396, it expanded to Taiyuan. In 534, Eastern Wei was founded by Gao Huan, with its capital in the city of Ye, and Taiyuan as the alternative capital (), where the mansion of the "Great Chancellor" Gao Huan () was located. In 577, Taiyuan was conquered and became part of Northern Zhou.
Sui dynasty
250x250px|thumb|Main battles for the establishment of the [[Tang dynasty, originating in Taiyuan|left]]
In 581, Emperor Wen of Sui founded the Sui dynasty. Jinyang was first the administrative center of Bing Zhou (), which was transformed into the Taiyuan Commandery.
Tang dynasty
In 618, Li Yuan founded the Tang dynasty, which is generally considered to have been a golden age of Chinese civilization. Taiyuan expanded significantly, partly as it was the military base of the founding emperors Li Yuan and Li Shimin.
In 690, Wu Zetian made Taiyuan the Northern Capital, (), one of three in the nation, along with Chang'an and Luoyang, as described in a poem by Li Bai: "The king of heaven has three capitals, the Northern capital is one of them". ("").
In 936, Shi Jingtang established Later Jin in Taiyuan, with help from the Khitan Liao dynasty. The next year, Shi Jingtang moved the capital to Luoyang and then to Kaifeng, and Taiyuan became a provisional northern capital (Beijing) again.
Song dynasty
Zhao Kuangyin (Emperor Taizu) established the Song dynasty and embarked on a campaign of Chinese re-unification. Using a power struggle at the Northern Han court, he moved against it in late 968. By early 969, his armies encircled Taiyuan and defeated the reinforcements sent by the Khitan. However, an attempt to flood the city failed. The siege was lifted after three months, as heavy rains caused diseases within the besieging army, the supplies were running low, and another Khitan relief force was advancing towards the city. During the Song period, many people, including the family of the chancellor Wang Anshi, migrated south.
Yuan state
The Mongol Empire emerged in 1206 under the leadership of Genghis Khan, and it expanded quickly. In 1218, Taiyuan was conquered by the Mongol army led by General Muqali. Kublai Khan established the Yuan dynasty in 1271, and the administrative area of Taiyuan Lu () was expanded.
The Taoist Longshan Grottoes were built during the early Yuan dynasty.
Ming dynasty
In 1368, the Hongwu Emperor established the Ming dynasty, and Taiyuan was obtained from Yuan by General Xu Da. The Ming dynasty installed the Nine Military Garrisons to defend the northern territory during the reign of the Hongzhi Emperor, which included the garrison of Taiyuan ().
Shanxi merchants became prominent in Chinese business history from the beginning of the Ming dynasty, thanks to the logistical requirements of the military around the borders of northern Shanxi to defend against the remnant Mongol Northern Yuan dynasty.
Qing
Throughout the Qing dynasty, international trade with Russia, especially of tea, and the creation and development of so-called draft banks, or piaohao, boosted the central Shanxi basin to become the financial center of Qing China. Even though most piaohao were based in the neighboring counties of Qi, Taigu, and Yuci, Taiyuan became a significant trading center, due to its political and economic status in Shanxi.
In 1900, the Taiyuan massacre occurred, during which angry Chinese killed European children and their missionary parents.
Republican era
thumb|left|Taiyuan Cathedral, photographed by [[Édouard Chavannes in 1907]]
thumb|left|Chinese soldiers and civilians celebrating the victory at [[Battle of Pingxingguan|Pingxingguan in 1937]]
The warlord Yan Xishan retained control of Shanxi from the Xinhai Revolution in 1911 to the end of the Chinese Civil War in 1949. Taiyuan consequently flourished as the center of his comparatively progressive province and experienced extensive industrial development. It was linked by rail both to the far southwest of Shanxi and to Datong in the north. Until 1949, Yan's arsenal in Taiyuan was the only factory in China sufficiently advanced to produce field artillery. In 1923, Yan facilitated the construction of the province's first airport, Taiyuan Chengbei Airport, which allowed him to further develop a small air force. Because Yan succeeded in keeping Shanxi uninvolved in most of the major battles between rival warlords that occurred in China during the 1910s and 1920s, Taiyuan was never taken from Yan by an invading army until the Japanese occupied it in 1937.
Yan was aware of the threat posed by the Japanese, and in order to defend against their impending invasion of Shanxi, he entered into a secret "united front" agreement with the Chinese Communist Party in November 1936. He then allowed agents under Zhou Enlai to establish a secret headquarters in Taiyuan. Yan, under the slogan "resistance against the enemy and defense of the soil", attempted to recruit young patriotic intellectuals to his government from across China. By 1936, Taiyuan had become a gathering point for anti-Japanese intellectuals who had fled from Beijing, Tianjin, and Northeast China. A representative of the Japanese army, speaking of the final defense of Taiyuan, said that "nowhere in China have the Chinese fought so obstinately".
From the occupation of Taiyuan to the Japanese surrender in 1945, the invaders continued to exploit Taiyuan's industries and resources to supply the Japanese army. After they surrendered surrendered to Yan Xishan, 10,000–15,000 Japanese troops, including both enlisted men and officers, decided to fight for Yan rather than return to Japan. Yan also retained the services of experienced and foreign-educated Japanese technicians and professional staff brought into Taiyuan by the Japanese to run the complex of industries that they had developed around the city.
Taiyuan was the last area in Shanxi to resist Communist control during the final stages of the war. After Communist forces captured Taiyuan Wusu Airport, its defenders were trapped within the city, facing food shortages and low morale. Taiyuan Qinxian Airport and an adjacent barracks was subsequently established in October 1948 in the Dayingpan area of the city, which was able to accommodate transport aircraft, while the barracks garrisoned the Second and Third Battalions. The existing Chengbei Airport was also reinforced, and two temporary backup airfields were established at Gelaogou and Honggou. The city was taken by Communist forces on 22 April 1949, after they surrounded Taiyuan and cut it off from all means of land and air supply. The capture required the support of 1,300 pieces of artillery. Many Nationalist officers subsequently committed suicide.
Geography
thumb|left|250px|Satellite image of Taiyuan
<!--
