The first stone-built castle of the county was built there, and it was an important border fortress during the Turkish occupation of Hungary, until Prince Francis II Rákóczi had it destroyed in 1707.
The railway line of the Bódva valley (built in 1896) strengthened its role as a market town.
They built a synagogue, educational institutions, and charitable organizations, and a Chevra Kadisha operated there.
In 1929, the Jewish community included 42 merchants, three farmers, two industrialists, a teacher, a lawyer, two doctors, an engineer, three clerks, and six craftsmen.
[2] After the war, about 30 Jews returned and renewed community life under Rabbi Yitzchak Zvi Deutsch.