The voltaic pile was the first ever battery. It was invented in 1800 by Alessandro Volta, an Italian physicist.