After World War II, each of the military governments of the Allied Occupation Zones in Germany were 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 organisations of the DRG were reunited, a situation codified by the Federal Railways Law (Bundesbahngesetz) that was ratified on 13 December 1951.