Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. The EMD GP40 is a 4-axle diesel-electric locomotive built by General Motors Electro-Motive Division between November 1965 and December 1971. Power is provided by an EMD 645E3 16-cylinder engine which generates 3,000 horsepower. 1,187 GP40s were built for U.S. railroads, 16 were built for Canadian railroads, and 18 were built for Mexican railroads. Various passenger versions were also built. In 1972, the GP40 was discontinued and replaced by the GP40-2, which has an improved electrical system and a few minor exterior cosmetic changes.