The rest were either conquered by the Ottomans or were included into the Slunj captaincy.[15] By the 1580s the city was in a dire state. It was almost surrounded by Ottoman territory, villages in its vicinity were abandoned and there were frequent reports of food shortages. Many of its citizens fled the city and there was a large influx of refugees into Bihać from nearby places that were conquered by the Ottomans.[16]