After early speculation on the subject, experimental work on the connection between electricity and magnetism began around 1820 with the work of Hans Christian Ørsted and continued with the work of André-Marie Ampère , Joseph Henry , and Michael Faraday .