Who invented the first electric car?

The first electric car is attributed to Robert Anderson, a Scottish inventor whose crude "electric carriage" is believed to have been built sometime in the 1830s.