 At the end of the 17th century Imre Thököly attempted to capture the castle but did not succeed.In 1678, when owned by Adam Forgáč, the castle was besieged again, on this occasion by Turks.The defenders repulsed this attack and also a second attempt in 1703.