In September 1939 Nazi Germany invaded Poland and partitioned the country together with the Soviet Union, and then occupied its western half. The western and northern portion of this territory was directly annexed to Germany, while in the remainder the General Government was formed.