During the Tang and Song dynasties, China experienced a golden age of prosperity, population growth, and technological innovation. The Tang Dynasty expanded the empire and established a civil service system, while the Song Dynasty restored order and saw advances in agriculture, trade, science, and the arts. This period marked China's peak as the most advanced and populated country in the world.