The 1878 revolt was prepared from both the Greek government and the leading Macedonian revolutionaries and took place in southern Macedonia, with large numbers of people from Greek and Vlach communities taking part. In the same year the Principality of Bulgaria was established, which along with the Bulgarian Exarchate started to wield on the Slavic-speaking populations of Macedonia, with the foundation of Bulgarian schools and the affiliation of local churches to the Exarchate; Greek, Serbian and Romanian schools were also founded in several parts. After Greece's defeat in the 1897 Greco-Turkish War, further Bulgarian involvement was encouraged in Macedonian affairs and their bands invaded the region, terrorizing populations of Greek consciousness.