After many decades of satisfactory performance, the steam engines were to give way to more modern locomotives. The year 1881 saw the birth of the first electric Railway run by a German Engineer Werner Van Siemens using both the rails to carry the current. Finding this a little too dangerous, Siemens soon adopted the overhead electric wires. Electric locomotives today raun on Rail roads in many countries.
Diesel Traction - 1912
The diesel engine was invented in the year 1893, by a young German Engineer, called Rudolf Diesel. But it was only nineteen years later, that the first Diesel locomotive came into existence.
Since then, diesel traction has grown from strength to strength. Over 89,000 Diesel locomotives have been built in the world so far, the General Motors, USA alone contributing to as many as 56,000 Locomotives.
Superior Technology - Diesel or Electric ?
Diesel Traction is thus a far more recent technology, as compared to Electric traction. One reason why there are more diesels in the world than electric locos and why more and more are produced year after year.
Railways in Europe and some other advanced countries had started Electrification many years before the modern Diesels came on the scene.
In fact, Railways in modern economies like US, Australia, etc. are de-electrifying including Suburban services.