The 1878 Macedonian rebellion was a Greek rebellion launched in opposition to the Treaty of San Stefano, according to which the bulk of Macedonia would be annexed to Bulgaria, and in favour of the union of Macedonia with the Kingdom of Greece. This followed the brief Greco-Turkish war of 1878 in which Greece had declared war on 2 February against the Ottoman Empire, only for the Greek forces to return to their bases shortly after crossing the border due to the intervention of the Great Powers and the signature of the Treaty of San Stefano.