Peace of Westphalia
Soon after the completion of those works, Germany was ravaged by the Thirty Years' War, and after the Peace of Westphalia, Bremen had to defend against Swedish invasion.