During the German invasion of Norway in April 1940, "Z17 Diether von Roeder" was tasked to attack Narvik and participated in both the First and Second Naval Battles of Narvik. She was crippled by British destroyers during the first battle, but was able to severely damage a British destroyer during the second battle, before she had to be scuttled to prevent her capture.