In the 1920s, locomotives using diesel engines replaced steam as the primary power source on the railroads, and the decoration of the engines became more elaborate.