Several Chinese dynasties were based in Jiangnan. After the Qin dynasty fell, the insurgent state of Chu took control. Its ruler, Xiang Yu, was born here. During the Three Kingdoms period, Jianye (present-day Nanjing) was the capital of Eastern Wu. In the 3rd century, many northern Chinese moved here after nomadic groups controlled the north. In the 10th century, Wuyue was a small coastal kingdom founded by Qian Liu who made a lasting cultural impact on Jiangnan and its people to this day. After the Jurchen completely overran northern China in the Jin–Song war of the 1120s, the exiled Song dynasty government retreated south, establishing the new Southern Song capital at Hangzhou in 1127.