What was the German Russian Pact of 1939?

The German-Russian Nonaggression Pact before World War II was a secret agreement between Hitler and Stalin dividing Poland in half should Germany invade.