The behavior of electricity and magnetism was studied by Faraday, Ohm, and others during the early 19th century.