Following the end of World War I, the German armed forces became subject to the stipulations of the Treaty of Versailles. For the navy, this meant it was restricted to six armoured warships ("panzerschiffe"), six cruisers, twelve destroyers and twelve torpedo-boats. With the scuttling of the majority of the High Seas Fleet at Scapa Flow, new construction was needed. The first major ship to be built after the war was the light cruiser Emden. This was followed by a further three light cruisers of the K class; Königsberg, Karlsruhe and Köln, and a further two ships that were modified versions of the K class, Leipzig and Nürnberg.