In 1867 by treaty the anything military and the fortress was required to be torn down. Kind of a shame, because just a few decades later fortresses became almost useless in war. It's a bit weird to see the ruins of a fortress and then go to the local museum and realize that it was torn down recently enough that there are tons of photographs of it. On the other hand it allowed the rest of the city centre to be built up.