The Soviet Union fought two short, undeclared border conflicts with Japan in 1938 and again in 1939, then remained neutral through the Soviet–Japanese Neutrality Pact of April 1941, until August 1945 when it (and Mongolia) joined the rest of the Allies and invaded the territory of Manchukuo, China, Inner Mongolia, the Japanese protectorate of Korea and Japanese-claimed territory such as South Sakhalin.