sentences:  He also ended the wars against the Southern Song dynasty, and canceled the Treaty of Shaoxing free of obligation, instead focusing the Jin dynasty's military resources on resisting the Mongol invasion.Despite his efforts, the Jin dynasty, already weakened by the flawed policies of his predecessors, eventually fell to the Mongol Empire.He escaped to Caizhou when the Mongols besieged Bianjing, the Jin capital (coincidentally the former Song capital), in 1232.