As the ancient capital city of Chang'an, it served as the political and cultural center of China, especially during the Sui (581–618) and Tang (618–907) dynasties. At its peak, it was the largest and most cosmopolitan city in the world, with a meticulously planned layout that influenced urban design across Asia.