In the context of practical application, Benjamin Franklin is generally accepted as the inventor of electricity.