Demographic history of Bosnia and Herzegovina of Catholic preachers. Preottoman Catholic population had a great share in the emigrations from Bosnia and Herzegovina. The emigration flows were directed towards Dalmatia, Croatia, Slavonia, Baranja and north-west Bačka. The western part of today's region of Bosnia, today known as Bosnian Krajina, was taken by the Ottomans in the 16th century, and was for some time still known as "Turkish Croatia", as its once overwhelming Catholic and Croat majority disappeared and the Ottomans entrenched the new border along the Sava and Una rivers. After more than a century of military losses, the Habsburg Empire waged some victorious wars against
Croats of Bosnia and Herzegovina Austria, respectively King of Croatia. During the revolt, for the first time Bosnian Croats used the flag of Croatia. Soon after, the Orthodox population in East Herzegovina also revolted, which led to the Herzegovina Uprising. The Ottoman authorities were unable to defeat the rebels, so Serbia and 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, and this resulted in over 150,000 refugees who went to Croatia. After the Congress of Berlin was held in same year, Bosnia and Herzegovina was