In 1831, Faraday (and independently Joseph Henry) discovered the reverse effect, the production of an electric potential or current through magnetism – known as electromagnetic induction ; these two discoveries are the basis of the electric motor and the electric generator, respectively.