 This was necessary from a strategic point of view, as the northernmost borders of Ottoman Empire at that time were positioned in line Jajce-Doboj-Srebrenik.It appears that the fortress was briefly retaken by Hungarian and Bosnian forces loyal to short lived Hungarian-backed Jajce Banate (1463-1528).However, as officially recorded, from 1503 the old town Doboj and its nearby fortress are firmly in Ottomans' hands until 1878.