Mongolia fought against Japan during the Battles of Khalkhin Gol in 1939 and the Soviet–Japanese War in August 1945 to protect its independence and to liberate Southern Mongolia from Japan and China. Mongolia had been a Soviet sphere of influence since the 1920s.