The Berlin outer ring ( , BAR) is a 125 kilometers long double track electrified railway, originally built by the German Democratic Republic to bypass West Berlin in preparation for the building of the Berlin Wall during the division of Germany.