the fortress remained in operation until roughly 1680. after that it was neglected, the building being torn down and only the fortifications being modernised in places. after 1843 the last ramparts were levelled. in its place today is the terrain of the old local history museum. in the period between 1626 and 1835 there were seven town fires, which destroyed a significant part of the town's infrastructure. swedish rule lasted until the town was captured by denmark in 1712.