 The opening of the Berlin outer ring in 1957 long-distance trains between Berlin and Werder (Havel) shifted to the new route to Berlin, with a new Potsdam Hauptbahnhof (now Potsdam Pirschheide) taking over the functions of the former Potsdam station, which was now served only by local trains.After the establishment of the Berlin Wall the Griebnitzsee border control station on the main railway was expanded for transit between East and West Berlin, with substantial changes to track work.The restoration of the second track between Magdeburg and Werder was completed in 1976.