Railroads enter the post-war era with a new sense of optimism, leading them to invest billions of dollars in new locomotives, freight equipment, and passenger trains. This investment will see the last steam locomotive retirement by the late 1950s in favor of diesel engines.