During the years of German occupation (1939–1945), Hel's defenses were further expanded, and a battery of three 40.6 cm SK C/34 gun was constructed, though the guns were soon moved to the Atlantic Wall in occupied France.