Although parts of the territory had participated in the initial uprisings in the Greek War of Independence in 1821, the revolts had been swiftly crushed. During the Russo-Turkish War of 1877–78, Greece remained neutral as a result of assurances by the great powers that her territorial claims on the Ottoman Empire would be considered after the war. In 1881, Greece and the Ottoman Empire signed the Convention of Constantinople, which created a new Greco-Turkish border that Incorporated most of Thessaly into Greece.