The Deutsche Bundesbahn or DB (German Federal Railway) was formed as the state railway of the newly established Federal Republic of Germany (FRG) on 7 September 1949 as a successor of the Deutsche Reichsbahn-Gesellschaft (DRG). The DB remained the state railway of West Germany until after German reunification, when it was merged with the former East German Deutsche Reichsbahn (DR) to form Deutsche Bahn AG, which came into existence on 1 January 1994.
After World War II, each of the military governments of the Allied Occupation Zones in Germany was de facto in charge of the German railways in their respective territories. On 10 October 1946, the railways in the British and American occupation zones formed the Deutsche Reichsbahn im Vereinigten Wirtschaftsgebiet (German Imperial Railway in the united economic area), while on 25 June 1947, the provinces under French occupation formed the Südwestdeutsche Eisenbahn. With the formation of the FRG these successor organizations of the DRG were reunited, a situation codified by the Federal Railways Law (Bundesbahngesetz) that was ratified on 13 December 1951. The railways in the Saarland joined on 1 January 1957.
The DB was a state-owned company that, with few local exceptions, exercised a monopoly concerning rail transport throughout West Germany. The DB was placed under the control of the Bundesverkehrsministerium (Federal Transport Ministry). With its headquarters in Frankfurt, in 1985 the DB was the third-largest employer in the FRG, with a strength of 322,383 employees. A special transit police (Bahnpolizei) provided security. The catering needs of the DB were supplied by the “Deutsche Schlafwagen- und Speisewagengesellschaft” (DSG), later “Deutsche Service-Gesellschaft der Bahn”, as the former DRG caterer Mitropa was situated in East Germany and serviced the Deutsche Reichsbahn in the GDR.