At that time, Serb and Croat lands were still part of the Ottoman and Austrian Empires.