When was the North lost to the Jurchen Jin dynasty?
After the north was lost to the Jurchen Jin dynasty in 1127 following the Jingkang Incident, Hangzhou became the capital of the Southern Song under the name Lin'an.