Electric locomotives are powered by an electric current from the overhead contact line above the track and are the most common type of locomotive today. The first electric locomotives appeared at the beginning of the 20th century.