The two Scharnhorst-class battleships were the first capital ships built for the Kriegsmarine after the end of World War I. They marked the beginning of German naval rearmament after the Treaty of Versailles.[69] The class comprised two vessels: Scharnhorst and Gneisenau.