 The Jurchens tried to conquer southern China in the 1130s , but they were bogged down by a pro @-@ Song insurgency in the north and a counteroffensive by the Song generals Yue Fei , Han Shizhong , and others . The generals regained some territories but retreated on the orders of the Southern Song emperor , who supported a peaceful resolution to the war . The Treaty of Shaoxing in 1142 settled the boundary between the two empires along the Huai River , but conflicts between the two dynasties continued until the fall of the Jin in 1234 . A campaign against the Song by the fourth Jin emperor , Wanyan Liang ( the Prince of Hailing ) , was unsuccessful . He lost the Battle of Caishi ( 1161 ) and was later assassinated by his own disaffected officers . An invasion of the Jin motivated by Song revanchism ( 1206 – 1208 ) was also unsuccessful . A decade later , the Jin launched an abortive military campaign against the Song in 1217 to compensate for the territory that they had lost to the invading Mongols . The Song formed an alliance with the Mongols in 1233 , and in the following year jointly captured Caizhou , the last refuge of the Jin emperor . The Jin dynasty collapsed that year in 1234 . After the demise of the Jin , the Song dynasty itself became a target of the Mongols , and fell in 1279 . 
 The Jurchens tried to conquer southern China in the 1130s , but they <a href='uninflect' title='1'><mark>were</mark></a> bogged down by a pro @-@ Song insurgency in the north and a counteroffensive by the Song generals Yue Fei , Han Shizhong , and others . The generals regained some territories but retreated on the orders of the Southern Song emperor , <a href='null_relcl' title='2'><mark>who</mark></a>supported a peaceful resolution to the war . The Treaty of Shaoxing in 1142 settled the boundary between the two empires along the Huai River , but conflicts between the two dynasties continued until the fall of the Jin in 1234 . A campaign against the Song by the fourth Jin emperor , Wanyan Liang ( the Prince of Hailing ) , was unsuccessful . He lost the Battle of Caishi ( 1161 ) and was later assassinated by his own disaffected officers . An invasion of the Jin motivated by Song revanchism ( 1206 – 1208 ) was also unsuccessful . A decade later , the Jin launched an abortive military campaign against the Song in 1217 to compensate for the territory <a href='null_relcl' title='3'><mark>that</mark></a>they <a href='been_done' title='4'><mark>had</mark></a> lost to the invading Mongols . The Song formed an alliance with the Mongols in 1233 , and in the following year jointly captured Caizhou , the last refuge of the Jin emperor . The Jin dynasty<a href='been_done' title='5'><mark></mark></a> collapsed that year in 1234 . After the demise of the Jin , the Song dynasty itself became a target of the Mongols , and fell in 1279 . 
The Jurchens tried to conquer southern China in the 1130s , but they was bogged dwn by a pro @-@ Song insurgency in da north and a counteroffensive by the Song generals Yue Fei , Han Shizhong , and others . The generals regained some territories but retreated on tdaorders of the Southern Song emperor , supported a peaceful resolution to the war . The Treaty of Shaoxing in 1142 settled thdaoundary between the 2 empires along thedaai River , but conflicts between the da dynasties continued until the fall of the Jin in 1234 . A campaign against the Sda by the fourth Jin emperor , Wanyan Liang ( the Prince of Hailing ) , was unsuccessful . He lost the Battle of Caishi ( 1161 ) and was later assassinated by his own disaffected officers . An invasion of the Jin motivated by Song revanchism ( 1206 – 1208 ) was also unsuccessful . A decade later , the Jidaaunched an abortive military campaign against the Sondan 1217 to compensate for the terrdary they done lost to the invadda Mongols . The Song formed an alliance with the Mongols in 1233 , and in the followda year jointly captured Caizhou , the last refuge of the Jin empdar . The Jin dynada been collapsed dat year in 1234 . After the demise of the Jin , thedang dynasdaitself became a target of the Mongols , and fell in 1279 .