 Pelbárt Várady got permission from the king to build the Castle of Kisvárda in 1415.In 1421, it became a town.István Várday, the Archbishop of Kalocsa, Matthias Corvinus's chancellor expended the town's autonomy in 1468.