The voltaic pile was the first electrical battery that could continuously provide an electric current to a circuit. It was invented by Italian physicist Alessandro Volta in 1799.