Treaty of Karlowitz
The centre of the town was ravaged by invaders for several times. The Turks captured the town repeatedly. In 1687 it got under the administration of the Habsburg empire as confirmed by the Treaty of Karlowitz in 1699.