 Later the Hungarian Derencsényi family obtained the lordship.The castle had been built here and it until the end of 17th century.In the 15th century the castle was conquered by the Hussite John Jiskra.