The Treaty of Versailles ending World War I signed at the Paris Peace Conference in 1919 restricted the total tonnage of the German surface fleet. The treaty also restricted the independent tonnage of ships and forbade the construction of submarines. However, a submarine design office was set up in the Netherlands and a torpedo research program was started in Sweden.