However, the possible defeat of the Jurchens threatened the power of the new emperor of the Southern Song, Gaozong and his premier Qin Hui. The reason for this was that Qinzong, the last emperor of the Northern Song was living in Jin-imposed exile in Manchuria and had a good chance of being recalled to the throne should the Jin dynasty be destroyed. Although Yue Fei had penetrated into enemy territory as far as Luoyang, he was ordered to head back to the capital and halt his campaign. Emperor Gaozong signed the Treaty of Shaoxing in 1141 that fixed the borders at the Huai River, as well as conceded territory regained through the efforts of Yue Fei, while Yue was killed during imprisonment. As part of the treaty, the Song were also forced to pay tribute to the Jin, much as it had to the Liao. With the treaty of Shaoxing, hostilities ceased between the Jin and Song dynasties for the next two decades. In the meantime, Emperor Gaozong negotiated with the Jin over his mother's ransom while he commissioned a symbolic art project about her, the "Eighteen Songs of a Nomad Flute", originally based upon the life of Cai Wenji (b. 177). Gaozong's mother was eventually released and brought south, but Qinzong was never freed from his confinement in the north.