The correct option is D Oersted
Until electromagnetism was discovered, scientists thought that electricity and magnetism were unrelated. A Danish scientist named Hans Christian Oersted changed all that. He discovered that electric current in a wire can deflect a magnetized compass needle that means electric current creates a magnetic field.