 The city is one of the so-called "old haiduk towns" and appears to have been inhabited since Paleolithic times, but the first written records come from 1301.Archaeological remains of the so-called "rézbalta culture" from 1380–2200BC have been found in the area as have Iron Age Scythians settlements.Roman era tombs were found in the area in 1938.