Following the establishment of independent Romania and the autocephaly of the Romanian Orthodox Church in the 1860s, the Aromanians increasingly began to come under the influence of the Romanian national movement. Although vehemently opposed by the Greek church, the Romanians established an extensive state-sponsored cultural and educative network in the southern Balkans: the first Romanian school was established in 1864, and by the early 20th century there were 100 Romanian churches and 106 schools with 4,000 pupils and 300 teachers. As a result, Aromanians divided into two main factions, one pro-Greek, the other pro-Romanian, plus a smaller focusing exclusively on its Aromanian identity.