In historical records the village was first mentioned in 1156, whilst the castle was mentioned first in 1296, when Andrew III of Hungary confiscated it from the sons of Jakab Cseszneky because of the disloyalty of the Csesznekys and donated the castle to János (Csák's son) of the clan Csák.