On the 25th November 1936, Nazi Germany and the Empire of Japan signed the Anti-Comintern Pact. Although directed against the Communist International, the international organisation that sought to create a worldwide communist republic, the treaty was in reality specifically against the Soviet Union.
The idea for an anti-Communist alliance had first been suggested in late 1935, as Hitler and Mussolini sought to present themselves as upholding traditional values in the face of Soviet Communism. However, the plan stagnated while the German foreign ministry weighed up the pros and cons of an alliance with the arch-enemy of their traditional Chinese ally.
By summer 1936 the military were an increasingly dominant force in Japan’s government. Meanwhile Europe was beginning to fear the implications of the Franco-Soviet Alliance that went into effect at the end of March. As a result Hitler pushed ahead with the Pact in the hope of securing an Anglo-German alliance as a result.
The Pact didn’t result in Hitler’s desired alliance with Britain, but did later expand to include Italy. Mussolini’s decision to join with Germany and Japan on the 6th November 1937, two years after the collapse of the Stresa Front with France and Britain, led to the formation of what was to become known as the Axis Alliance.
The Anti-Comintern Pact specifically stated that the signatories would not make any political treaties with the Soviet Union. However, on the 23rd August 1939, Germany signed the Nazi-Soviet Pact, also known as the Molotov-Ribbentrop Pact. This caused a rift with Japan, but the relationship began to heal following the later Tripartite Pact in September 1940.