 He fled south after the Jurchens overran Kaifeng in the Jingkang Incident of the Jin–Song wars, hence the beginning of the Southern Song dynasty 1127-1279.Gaozong re-established his seat of government in Lin'an (; today's Hangzhou).When the princess took refuge in the south, she was married to Tang Wai-Kap () of Kam Tin by Wai-Kap's father, Tang Yeun-Leung ().