The Treaty of Shaoxing () was the agreement that ended the military conflicts between the Jin dynasty and the Southern Song dynasty. It also legally drew up the boundaries of the two countries and forced the Song dynasty to renounce all claims to its former territories north of the Qinling Huaihe Line, which included its former capital Kaifeng. Emperor Gaozong of Song executed Yue Fei after the treaty.