Many sections of the S-Bahn were closed during the war, both through enemy action and flooding of the Nord-Süd-Bahn tunnel on 2 May 1945 during the final Battle of Berlin.
After hostilities ceased in 1945, Berlin was given special status as a "Four-Sector City," surrounded by the Soviet Occupation Zone, which later became the German Democratic Republic (GDR).