 The Soviets staged the shelling of Mainila and used it as a pretext to withdraw from the Soviet–Finnish Non-Aggression Pact.The Red Army attacked in November 1939.Simultaneously, Stalin set up a puppet government in the Finnish Democratic Republic.