In 1935, Germany signed the Anglo–German Naval Agreement with Great Britain, which provided a legal basis for German naval rearmament; the treaty specified that Germany would be able to build five 10000 long tons "treaty cruisers".