It was founded on January 1 , 1994 to replace the Deutsche Bundesbahn , which was the state railway of West Germany , and the Deutsche Reichsbahn , which was the state railway of East Germany . Headquartered in Berlin , it came into existence in 1994 as the successor to the former state railways of Germany , the Deutsche Bundesbahn of West Germany and the Deutsche Reichsbahn of East Germany .