On August 23, 1939, the secret German-Soviet Nonaggression Pact was signed in Moscow, dividing Eastern Europe into German and Soviet spheres of influence. A secret protocol set the rules of partition for territories including Poland, Lithuania, Latvia, Estonia, Finland and Romania. This pact set the stage for the Soviet invasion of Poland from the East while the country was waging a losing war with Hitler’s army.