 Early settlements from the Neolithic and Bronze Age were found in the town, as well as signs of human activity during Ancient Roman times.The first written record of the village can be found in a letter by the Hungarian king Béla IV from 1256.The town was burned down during the Mongol invasion.