The decline of the castle dates to a fire in 1629, and Swedish deluge when it was burned again in 1655/1657.