On 1 September 1939, Hitler ordered an invasion of Poland, the opening event of World War II. Poland had signed an Anglo-Polish military alliance as recently as the 25th of August, and had long been in alliance with France. The two Western powers soon declared war on Germany, but they remained largely inactive (the period early in the conflict became known as the Phoney War) and extended no aid to the attacked country. The technically and numerically superior "Wehrmacht" formations rapidly advanced eastwards and engaged massively in the murder of Polish civilians over the entire occupied territory. On 17 September, a Soviet invasion of Poland began. The Soviet Union quickly occupied most of the areas of eastern Poland that were inhabited by a significant Ukrainian and Belarusian minority. The two invading powers divided up the country as they had agreed in the secret provisions of the Molotov–Ribbentrop Pact. Poland's top government officials and military high command fled the war zone and arrived at the Romanian Bridgehead in mid-September. After the Soviet entry they sought refuge in Romania.