Michael Faraday first discovered it, using some of the works of Hans Christian Oersted. His work started at first using different combinations of wires and magnetic strengths and currents, but it wasn't until he tried moving the wires that he got any success.