The Molotov–Ribbentrop Non-Aggression Pact of August 1939 had established a non-aggression agreement between Nazi Germany and the Soviet Union, and a secret protocol described how Finland, Estonia, Latvia, Lithuania, Poland (Second Polish Republic) and Romania would be divided between them.