The castle was built by Count István Csáky from 1694, using the remains of the walls of an earlier manor house, in the late Baroque style.