Occupied Poland became an important transit area connecting Germany to the Soviet Union territories, and rail transport was the main method of transportation of resources for the German war effort. Following the end of organized Polish resistance in October 1939, Germans started to rebuild the damaged infrastructure, and then improve it beyond the pre-war level. Following the German invasion of the Soviet Union, close to 100% of the German supplies to the Eastern Front lines passed through the former Polish territories.