section_path: History/Imperial era
section_name: Imperial era
paragraph_text: Imperial era
  
  Under the Han, the brocade produced in Chengdu became fashionable and was exported throughout China. A "Brocade Official" (錦官; jǐnguān) was established to oversee its production and transaction. After the fall of the Eastern Han, Liu Bei ruled Shu Han, the southwestern of the Three Kingdoms, from Chengdu. His minister Zhuge Liang called the area the "Land of Abundance". Under the Tang, Chengdu was considered the second most prosperous city in China after Yangzhou. Both Li Bai and Du Fu lived in the city. Li Bai praised it as "lying above the empyrean." The city's present Caotang ("Grass Hall") was constructed in 1078 in honor of an earlier, more humble structure of that name erected by Du Fu in 760, the second year of his 4-year stay. The Taoist Qingyang Gong ("Green Goat Temple") was built in the 9th century.
  
  Chengdu was the capital of Wang Jian 's Former Shu from 907 to 925, when it was conquered by the Later Tang. The Later Shu was founded by Meng Zhixiang in 934, with its capital at Chengdu. Its second and last king, Meng Chang beautified the city by ordering hibiscus to be planted upon the city walls.
  
  The Song conquered the city in 965, introducing the first widely used paper money in the world. Su Shi praised it as "the southwestern metropolis". At the fall of the Song, a rebel leader set up a short-lived kingdom known as Great Shu (Chinese: 大蜀, Dàshǔ). Allegedly the Mongols called for the death of a million people in the city but the city's population had less than 30,000 residents (not Chengdu prefecture). The aged males who had not fled were killed while in typical fashion, the women, children and artisans were enslaved and deported. During the Yuan dynasty, most of Sichuan's residents were deported to Hunan during the insurgency of the western ethnic tribes of western Sichuan. Marco Polo visited Chengdu and wrote about the Anshun Bridge or an earlier version of it.
  
  At the fall of the Ming, the rebel Zhang Xianzhong established his Great Western Kingdom (Chinese: 大西) with its capital at Chengdu; it lasted only from 1643 to 1646. Zhang was said to have massacred a large number of people in Chengdu and throughout Sichuan. In any case, Chengdu was said to have become a virtual ghost town frequented by tigers and the depopulation of Sichuan necessitated the resettlement of millions of people from other provinces during the Qing dynasty. Following the Columbian Exchange, the Chengdu Plain became one of China's principal sources of tobacco. Pi County was considered to have the highest quality in Sichuan, which was the center of the country's cigar and cigarette production, the rest of the country long continuing to consume snuff instead.