Charles I of Hungary
The first writing about it is in a document of Charles I of Hungary since 1325. In the beginning of the 15th century it was declared free town. It lost town status later, but regained it in 1998.