 It was first mentioned in 1276 when the Benedictine Abbey of Hronský Beňadik protested against the Archbishopric of Esztergom occupying the property of the Abbey in the Breznica border.The castle was built by the archbishop of Esztergom in the late 13th century.Matthew III Csák took it by digging a tunnel under the castle walls.