The town was founded in 13th century. The original Gothic castle from the 14th century was rebuilt in Renaissance style. Historicla center has preserved its Gothic ground plan. The St.Michaels church from the 14th century was rebuilt in 16th century.