Who Invented the Electric Generator?

The electric generator was invented by Aloisio Galvani however in 1831 a man named Michael Faraday improved the design and made it what it is today.