During the Scanian War, Brandenburg occupied the Swedish dominions in Northern Germany, Swedish Pomerania (except for Rügen) and Bremen-Verden, also Courland; Denmark occupied Rügen but was defeated in Scania in the battles of Lund (1676) and Landskrona (1677).