Yunnan was a destination for Han Chinese during Yuan rule.[31] Colonizers moved into the area during Ming and Qing rule.[32] During the Ming dynasty, 3 million Han Chinese mostly from Nanjing (the original Nanjing population was later largely replaced by Wu-speakers), and some from Shanxi and Hebei settled in Yunnan.