In 1920, the town became part of the newly formed Czechoslovakia, in 1939 it returned to Hungary.
In 1920, the town joined the newly created Czechoslovakian state, in 1939 it reverted to Hungarian control.