Croats of Bosnia and Herzegovina transferred to the Austro-Hungarian Empire. Even after the fall of the Ottoman rule, the population of Bosnia and Herzegovina was divided. In the Habsburg Kingdom of Croatia, Croatian politicians strived for the unification of the Kingdom of Dalmatia with Croatia. Another ambition of Croatian politicians was to incorporate the Condominium of Bosnia and Herzegovina into the Kingdom of Croatia. The Habsburg Governor Béni Kállay resorted to co-opt religious institutions. Soon, the Austrian Emperor gained support to name Orthodox metropolitans and Catholic bishops and to choose Muslim hierarchy. The first Catholic archbishop was Josip Stadler. Both apostolic vicarates, Bosnian and Herzegovinian,
Serbs of Bosnia and Herzegovina Montenegro took advantage of this weakness and attacked the Ottoman Empire in 1876, soon after the Russian Empire did the same. The Turks lost the war in 1878. After the Congress of Berlin was held in same year, mandate of Bosnia and Herzegovina was transferred to the Austro-Hungarian Empire. More specifically, In 1875, the Herzegovina Uprising broke out in the Bosnia Vilayet. On July 2, 1876, Golub Babić and his 71 commanders signed the "Proclamation of the Unification of Bosnia with Serbia". This event is often known, among Serbian historians, as the "Third Serbian Uprising". This rebellion directly led to