 By the end of the same century, however, the Ottoman administration began to slowly resettle the city's area; by the 1536 cadastral survey, the town had 7 Muslim neighborhoods ("mahalas") with 56 houses in total, along with a Christian community of 29 houses.On the left bank of the Lepenica, a mosque was erected.In spite of its newfound consolidation under Turkish rule, the town's location in strategic borderland between the Habsburg Monarchy and the Ottoman Empire made it an area of frequent conflict in the modern era.