History of Chang'an: 13 Dynasties & 1,100 Years as Capital

Chang'an, now Xi'an, served as the imperial capital for thirteen separate dynasties spanning more than 1,100 years, from the Zhou Dynasty around 1046 BCE through the Tang Dynasty's collapse in 907 CE. The city's position on the Guanzhong Plain, bordered by the Qinling Mountains to the south and the Wei River to the north, created a natural defensive basin accessible through narrow mountain passes that could be controlled with relatively small garrisons. This geographic advantage made the site strategically superior to eastern plains capitals and explains why successive regimes repeatedly chose this location despite its distance from the economic centers that eventually developed along the Yellow River's lower reaches and the Yangtze River valley.

The Western Zhou Dynasty established Haojing and Fengjing, twin settlements near modern Xi'an, as their capital around 1046 BCE following the overthrow of the Shang Dynasty. Archaeological excavations at Zhangjiapo and Fengchu have recovered bronze inscriptions and oracle bones documenting administrative structures and ritual practices from this period. The Zhou capital remained in this region until 771 BCE, when the Quanrong tribes sacked the city and killed King You of Zhou, forcing the royal court to relocate eastward to Luoyang. This event divided Zhou history into the Western Zhou period, when Chang'an served as the capital, and the Eastern Zhou period, when political fragmentation accelerated.

The Qin Dynasty under Ying Zheng, who took the title Qin Shi Huang upon unifying China in 221 BCE, established Xianyang as the imperial capital on the north bank of the Wei River, approximately 25 kilometers northwest of modern Xi'an's city center. Xianyang was designed as a monumental capital with standardized road widths, palace complexes modeling those of conquered states, and an estimated peak population between 500,000 and 1,000,000 inhabitants based on excavated residential foundations and cemetery distributions. The Epang Palace, begun but never completed before the dynasty's collapse in 206 BCE, was recorded in Sima Qian's "Records of the Grand Historian" as covering an area with a foundation measuring 690 meters east to west and 115 meters north to south for the front hall alone, though physical evidence suggests construction halted at foundation stages. The Mausoleum of the First Qin Emperor, located at the foot of Mount Li 30 kilometers east of Xianyang, covers 56.25 square kilometers and required an estimated 700,000 laborers over 38 years according to historical records, though modern archaeological surveys suggest construction involved rotating labor contingents rather than continuous forced labor by a fixed number of workers. The terracotta army pits associated with this mausoleum have yielded more than 8,000 individual soldier figures, 130 chariots, 520 horses, and 150 cavalry horses since systematic excavation began in 1974.

Liu Bang, founder of the Han Dynasty, established his capital at Chang'an in 202 BCE after defeating Xiang Yu in the Chu-Han Contention. The Han capital was built south of the Wei River and slightly southeast of the former Qin capital Xianyang, incorporating some Qin palace foundations while constructing new administrative complexes. The Weiyang Palace, the primary imperial residence, occupied approximately 4.8 square kilometers within the larger palace district and remained in use through multiple dynasties. The Han city walls, completed during the reign of Emperor Hui between 195 and 188 BCE, enclosed approximately 36 square kilometers with walls measuring 25.7 kilometers in total circumference, substantially larger than contemporary Rome's circuit. Population estimates for Han Dynasty Chang'an range from 246,200 registered households in 2 CE based on census records preserved in the "Book of Han" to a total population exceeding 500,000 when non-registered residents are included.

The Han Dynasty capital functioned as the eastern terminus of the Silk Road trade network following Zhang Qian's diplomatic missions to Central Asia between 138 and 126 BCE. Zhang Qian's reports to Emperor Wu described the Dayuan kingdom in the Ferghana Valley, Kangju north of the Syr Darya River, and Bactria south of the Oxus River, providing the Han court with intelligence that enabled establishment of trade and diplomatic relations across the Tarim Basin. Chang'an markets received goods transported along routes crossing the Pamir Mountains and skirting the Taklamakan Desert, though direct archaeological evidence of specific imported goods in Han contexts remains limited to occasional glass beads and scattered textile fragments of probable Central Asian manufacture. The trade system operated primarily through intermediary kingdoms rather than direct merchant caravans traveling the entire route, as documented in contemporary Chinese historical texts.

Chang'an lost capital status when Wang Mang established the short-lived Xin Dynasty in 9 CE and again during the Eastern Han period when Luoyang became the primary capital in 25 CE. The city's population declined substantially during the political fragmentation of the Three Kingdoms period following the Han collapse in 220 CE. Chang'an regained prominence when the Sui Dynasty reunified China in 581 CE, though Emperor Wen initially ruled from the Daxing Palace before his son Emperor Yang moved the capital to Luoyang in 605 CE. The Sui Dynasty Daxing City, designed by the architect Yuwen Kai, established an orthogonal grid plan that influenced subsequent Tang Dynasty urbanism.

The Tang Dynasty under Emperor Gaozu reclaimed Chang'an as the capital in 618 CE, constructing the most extensive version of the city in its history. Tang Dynasty Chang'an covered approximately 84 square kilometers within its outer walls, which measured 9.7 kilometers east to west and 8.6 kilometers north to south based on surviving wall foundations and modern archaeological surveys. The city grid divided the area into 108 wards, each enclosed by walls with gates that closed at night, creating a cellular urban structure documented in contemporary maps and the "Tang Huiyao" administrative encyclopedia. The population peaked between 800,000 and 1,000,000 registered residents during the reign of Emperor Xuanzong according to administrative records, with estimates reaching two million when transient populations and surrounding suburban settlements are included. The palace district occupied 4.2 square kilometers in the northern central sector, while the adjacent imperial park added another 7.7 square kilometers of gardens, hunting grounds, and artificial lakes.

The Daming Palace, constructed northeast of the main palace complex beginning in 634 CE, covered 3.2 square kilometers and served as the primary imperial residence for more than 200 years during the Tang Dynasty. The Hanyuan Hall, the palace's main audience chamber, stood on a rammed earth platform 15 meters high with a hall measuring 75.9 meters wide and five bays deep, dimensions reconstructed from foundation excavations conducted between 1959 and 1960. The palace complex included administrative offices, residential quarters for the imperial family and court officials, gardens with imported plant species, and artificial water features supplied by diverted streams from the Chanhe River. The scale exceeded contemporary European royal residences by substantial margins, though direct comparisons require accounting for different administrative functions embedded in Chinese palace complexes.

Chang'an functioned as the cultural and political center of East Asia during the seventh and eighth centuries, hosting diplomatic missions from the Korean kingdoms of Goguryeo, Baekje, and Silla, the Japanese imperial court, and Central Asian states including Sogdiana and Tocharia. The Tang court maintained a Honglu Si, or Court of State Ceremonial, that managed foreign relations and assigned residence quarters for visiting envoys within designated wards. Japanese missions during this period numbered 19 documented embassies between 630 and 894 CE, with individual missions including hundreds of monks, students, and officials who resided in Chang'an for years studying Chinese governmental structures, Buddhist texts, and cultural practices. Korean scholars including Choe Chiwon studied at the Tang imperial academy and passed civil service examinations, while Sogdian merchants established permanent trading communities in designated wards.

Buddhism transformed Chang'an's religious landscape following its arrival via the Silk Road during the Han Dynasty, though major temple construction accelerated during the Tang period when imperial patronage supported extensive monastic establishments. The Giant Wild Goose Pagoda, constructed in 652 CE within the Da Ci'en Temple complex, was built to house Buddhist texts brought from India by the monk Xuanzang following his 17-year journey documented in the "Great Tang Records on the Western Regions. Xuanzang spent the remaining 19 years of his life translating 1,335 volumes of Buddhist texts at this location, establishing Chang'an as a major center for Buddhist scholarship. The Daxingshan Temple, initially constructed during the Sui Dynasty, housed more than 3,000 monks at its peak and maintained separate translation bureaus for Sanskrit texts under the direction of Indian and Central Asian monk-scholars.

The An Lushan Rebellion beginning in 755 CE devastated Chang'an's population and infrastructure when rebel forces captured the city in 756 CE, forcing Emperor Xuanzong to flee to Sichuan. Contemporary accounts record widespread destruction of residential wards and the execution or displacement of hundreds of thousands of inhabitants, though specific casualty figures remain disputed among historians. The city was recaptured in 757 CE, but the Tang Dynasty never fully recovered the centralized administrative control or economic resources that had characterized the earlier eighth century. Chang'an remained the nominal capital until 904 CE, when the warlord Zhu Wen forced Emperor Zhaozong to relocate to Luoyang and systematically dismantled Chang'an's palaces to transport building materials eastward, an act recorded in the "Old Book of Tang" and "New Book of Tang."

The city's population collapsed following the Tang Dynasty's final dissolution in 907 CE, dropping to approximately 50,000 inhabitants based on Song Dynasty administrative records from the eleventh century. No subsequent dynasty chose Chang'an as the primary capital, though the city maintained regional administrative importance as the seat of Shaanxi province and a military garrison controlling access to western territories. The Ming Dynasty constructed the current city wall between 1374 and 1378 CE, creating a rectangular circuit of 13.7 kilometers enclosing 11.5 square kilometers, substantially smaller than the Tang Dynasty perimeter and built partially atop earlier foundations. This wall, standing 12 meters high and 15 to 18 meters wide at the base, represents China's most complete surviving example of Ming military architecture and defines Xi'an's current city center layout.

The shift from Chang'an to eastern capitals reflected China's economic center of gravity moving toward the Yangtze River delta and the Yellow River's lower reaches, where agricultural productivity, water transport networks, and maritime trade access created advantages the western capital could not match. The Grand Canal, constructed primarily during the Sui Dynasty and connecting the Yangtze River with the Yellow River and northern plains, enabled efficient grain transport to feed large urban populations in cities like Kaifeng and later Beijing, which became the primary capital under the Yuan Dynasty in 1271 CE. Chang'an's geographic isolation, which had provided defensive advantages during earlier periods, became an economic liability when long-distance trade increasingly relied on maritime routes and canal-based internal commerce rather than overland Silk Road networks that declined following the fragmentation of Central Asian polities and the expansion of maritime trade during the Song Dynasty.

Further Reading - [Archaeological surveys: Institute of Archaeology, Chinese Academy of Social Sciences reports on Tang Dynasty Chang'an excavations]
- [Historical records: "Records of the Grand Historian" (Shiji) by Sima Qian, "Book of Han" (Han Shu), "Old Book of Tang" (Jiu Tang Shu)]
- [UNESCO documentation: Mausoleum of the First Qin Emperor including terracotta army, World Heritage Centre whc.unesco.org]
- [Urban planning studies: "Chinese Architecture and Planning: Ideas, Methods, Techniques" published by Chinese architectural history institutes]
Information reflects conditions at time of writing. Verify all critical details through official sources before travel.