to Ali Pasha. Ali Pasha tried to use the war as an opportunity to make himself a fully independent ruler, but was assassinated by Ottoman agents in 1822. When Greece became independent in 1830, however, Epirus remained under Ottoman rule. In 1854, during the Crimean War, a major local rebellion broke out. Although the newly found Greek state tried tacitly to support it, the rebellion was suppressed by Ottoman forces after a few months. Another failed rebellion by local Greeks broke out in 1878. During this period, the Ecumenical Patriarchate of Constantinople managed to shut down the few Albanian schools, considering teaching in Albanian a factor that would diminish its influence and lead to the creation of separate Albanian church, while publications in Albanian were banned by the Ottoman Empire. In the late 19th century, the Kingdom of Italy opened various schools in the regions of Ioannina and Preveza in order to influence the local population. These schools began to attract students from the Greek language schools, but were ultimately closed after intervention and harassment by the Ecumenical Patriarchate of Constantinople. Throughout, the late period of Ottoman rule (from the 18th century) Greek and Aromanian population of the region suffered from Albanians raiders, that sporadically continued after Ali Pasha's death, until 1912–1913. 20th-century Epirus While the Treaty of Berlin (1878) awarded large parts of Epirus to Greece, opposition by the Ottomans and the League of Prizren resulted in only the region of Arta being ceded to Greece in 1881. It was only following the First Balkan War of 1912–1913 and the Treaty of London that the rest of southern Epirus, including Ioannina, was incorporated into Greece. Greece had also seized northern Epirus during the Balkan Wars, but the Treaty of Bucharest, which concluded the Second Balkan War, assigned Northern Epirus to Albania. This outcome was unpopular among local Greeks, as a substantial Greek population existed on the Albanian side of the border. Among Greeks, northern Epirus was henceforth regarded as terra irredenta. Local Greeks in northern Epirus revolted, declared their independence and proclaimed the Autonomous Republic of Northern Epirus in February 1914. After fierce guerrilla fighting, they managed to gain full autonomy under the terms of the Protocol of Corfu, signed by Albanian and Northern Epirote representatives and approved by the Great Powers. The signing of the Protocol ensured that the region would have its own administration, recognized the rights