The castle became a prison in the 19th century and served as such until 1953, when massive restoration work started.
From the 14th century, the castle served as a state prison.
During these years, the castle also served as a notorious prison.
From the 18th century, the castle served as a prison.
From 1606, the castle served as a source of building material for the local people.
The castle served as a protected place for the local elites.
After 1750 the old castle served as a house for the administration of the city.
From 1940 to 1942, the castle served as a military hospital.
Today the castle serves as a historic house museum and is also noted for its park.
Today the castle has been restored and serves as a museum.