 Because these internal uprisings had severely weakened the Jin's capacity to confront the Southern Song militarily, the Jin court under Emperor Shizong began negotiating for peace.The Treaty of Longxing (隆興和議) was signed in 1164 and ushered in more than 40 years of peace between the two empires.In the early 1180s, Emperor Shizong instituted a restructuring of 200 "meng'an" units to remove tax abuses and help Jurchens.