The town walls, best preserved in the sections in Basztowa Street, were built in the 16th and 17th centuries. In the late 18th century the Austrians ordered the walls surrounding the town to be dismantled. The same happened to the 9 towers and 3 entrance gates.