Under the Sikorski–Mayski agreement of July 1941 Polish soldiers taken prisoner by the Soviet Union in 1939, were released to form Anders' Army, intended to fight Nazi Germany in the USSR, but instead transferred via Iran to fight with US and British forces.