The town was first mentioned in historical records in 1263. The town received town rights in 1271. Scientist and inventor Joseph Petzval was born here in 1807. The town center has been designated an historic district. The church in the center of the square was built in the 15th century. The tower next to the church was dedicated to when to town received town rights back in 1271.
^Magyar statisztikai Közlemények, 1910. Évi Népszámlálás. A népesség főbb adatai Községek és népesebb puszták, telepek szerint. (Budapest 1912), p.248-249