On 11 May 1939, the day after the Credit Agreement, the Soviet Union went to war against Japan in a successful four-week military campaign in the Far East. The Nazi-Soviet Pact was signed four days after the Credit Agreement. The 1939 German–Soviet Commercial Agreement renewed declined Nazi–Soviet economic relations and was adjusted and expanded with the larger German–Soviet Commercial Agreement in February 1940 and January 1941 German–Soviet Border and Commercial Agreement. German shipments to the Soviets became tardy and failed to provide all that was promised the closer the date of Barbarossa came. The Soviets fulfilled their obligations to the letter right up until the invasion, wanting to avoid provoking Germany. All these agreements were terminated when Germany invaded the Soviet Union in June 1941, in violation of the treaties between the two countries. Soviet trade with Germany in the pre-invasion period ended up providing the Germans with many of the resources they needed for their invasion of the Soviet Union.