From the second half of the 10th century until 1918, it was part of the
Kingdom of Hungary. The first written mention about settlement was in 1233 as terra
Reuche. The town was established by Germans, who named it Rosenberg. It got
its town rights in 1318. In 1340, Hungarian King Charles Robert confirmed its
town rights and extended more. However, its growth was interrupted as it was
placed under Likavka rule.