The Treaty of Versailles allowed the Germans to retain four pre-dreadnoughts, although only two, and , were rearmed with their original 28 cm SK L/40 guns. The former fired the first shots of World War II when she began bombarding Polish defenses on the Westerplatte on 1 September 1939 while the latter also participated in the Polish Campaign. However both ships were relegated to training duties shortly afterwards.