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,
Croats of Bosnia and Herzegovina western Serbia and later part of the Kingdom of Croatia, which he accomplished by defeating various Croatian nobles and supporting Hungary. Thus, the Kingdom of Bosnia emerged, but part of present territory of Bosnia and Herzegovina remained in the Kingdom of Hungary. Regarding religion, Bosnia was closer to Croatia than the Orthodox lands to the east, and the Diocese of Bosnia is mentioned as Catholic in the 11th century, and later fell under the jurisdiction of the Archdiocese of Split and in the 12th Century under the jurisdiction of the Diocese of Dubrovnik. Another connection of Bosnia with Croatia is