The Bihać fort would become the westernmost fort taken by the Ottoman army over a hundred years later, in 1592 under the Bosnian vizier Hasan-pasha Predojević. The city was initially made the center of the Bihać sanjak, part of the Bosnian pashaluk. It was demoted in 1699 to become part of the sanjak of Bosnia, during the period of intense border wars between the Habsburg monarchy and the Ottoman Empire.