Ming dynasty
The Mings' main capital of Beijing fell in 1644 to a rebellion led by Li Zicheng, who established the Shun dynasty. This was soon replaced by the Manchu-led Qing dynasty. The people who still liked the Ming continued to fight as the Southern Ming up to 1683.