At the same time, Serbian Orthodox eparchies in Bosnia and Herzegovina remained under the supreme ecclesiastical jurisdiction of the Patriarchate of Constantinople, but after the Austro-Hungarian occupation (1878) of those provinces, local eparchies gained internal autonomy, regulated by the Convention of 1880, signed by representatives of Austro-Hungarian authorities and the Patriarchate of Constantinople.