The Jin handed over several of the Sixteen Prefectures to the Song including modern-day Beijing.
[2]: 76 The term of the Alliance Conducted at Sea were that the Song and the Jurchen Jin agreed to jointly invade the Khitan Liao.
[2]: 76 The invasion succeeded, and in 1125 the Jurchen Jin captured the fleeing Liao emperor.
[2]: 76 Through their joint efforts, the Jurchen Jin became aware of the Song's military weakness and as a result transferred only part of the promised Sixteen Prefectures.
This incident, the Humiliation of Jingkang, marked the end of the Northern Song dynasty.