Following the invasion of Poland in September 1939, many thousands of Polish servicemen and women made their way via Hungary and Romania (which then had common borders with Poland) to France, where they again fought against the invading Germans; and in 1942 the newly formed Polish Second Corps evacuated from the Soviet Union, via Iran, to the Near East, subsequently fighting in campaigns there and in North Africa, Italy, and northwest Europe. Some Second Corps personnel transferred from the Near East into Polish Armed Services units in the UK.