what affects the direction of a current moving through a wire
Hans Christian Oersted. In 1820, a Danish physics teacher observed that the current moving through a wire moved the needle on a nearby compass. when the current was reversed, the compass needle was deflected in the opposite direction. these magnetic effects ceased when the current in the wire stopped.