Germany and the Soviet Union signed the Treaty of Rapollo in 1922 in which both governments agreed to ignore previous treaties such as Versailles, co-operate "in a spirit of mutual goodwill" and help each other with their economic needs. 