With the Ottoman conquest of Serbian territories, groups of Serbs fled to the north or west; of the western migrational groups, some settled in White Carniola and Žumberak.Vlachs and Uskoks to White Carniola and Žumberak coming from Croatia and Bosnia. The Habsburg commanders brought from Bosnia, later and from parts of Croatia and Dalmatia hundreds or thousands of families and settled them in area which covers White Carniola, across the Žumberak Mountains all the way to Vinica. In September 1597, with the fall of Slatina, some 1,700 Uskoks with their wives and children settled in Carniola, bringing some 4,000 sheep with them. The following year, with the conquest of Cernik, some 500 Uskok families settled in Carniola. At the end of the 17th century, with the stagnation of Ottoman power due to European pressure during internal crisis, and Austrian advance far into Macedonia, Serbs armed themselves and joined the fight against the Ottomans; the Austrian retreat prompted another massive exodus of Serbs from the Ottoman territories c. 1690 (see Great Serb Migrations).