Answer: He invented the astatic needle, a critical component of the modern astatis galvanometer, and was the first to demonstrate that a magnetic field is generated when two parallel wires are charged with electricity. He is generally credited as one of the first to discover electromagnetism.
HOPE THIS HELPS