The first electric car appeared in 1832, when Scottish inventor Robert Anderson created a small electric carriage. However, it wasn't until 1884 that the first successful electric car was built, by French inventor Gustave Trouvé. Electric cars then began to gain popularity in the early 20th century as an alternative to petrol-powered vehicles.