Zhang Xianzhong
In 1362, (Yuan dynasty), Ming Yuzhen, a peasant rebel leader, established the Daxia Kingdom () at Chongqing for a short time. In 1621 (Ming dynasty), another short-lived kingdom of Daliang () was established by She Chongming () with Chongqing as its capital. In 1644, after the fall of the Ming dynasty to a rebel army, Chongqing, together with the rest of Sichuan, was captured by Zhang Xianzhong, who was said to have massacred a large number of people in Sichuan and depopulated the province, in part by causing many people to flee to safety elsewhere. The Manchus later conquered the province, and during the Qing dynasty, immigration to Chongqing and Sichuan took place with the support of the Qing emperor.