During the Counter-Reformation and the Swedish Deluge the town was a local pilgrimage center. In 1810, Jerusalem still only had 198 residents and around 1820 the town finally lost its charter (lost its civic rights).