In Britain the Great Western Railway introduced diesel railcars in the 1930s and the first British mainline diesel locomotive was built by the London, Midland and Scottish Railway in 1947 but, unlike elsewhere in the developed world, the transition away from steam was delayed during the early postwar years.