Nevertheless, already in 1677 during the Dutch War, the French conquered city and fortress. When in 1679 following the treaties of Nijmegen the Habsburgers had to cede Freiburg to the crown of France the Schlossberg experienced its greatest changes.