c4p26-both
This new method of producing continuous electrical effects had far-reaching results, one of which was the discovery of the magnetic properties of the electric current by the Dane, Oersted - once again a purely accidental discovery, moving directly counter to the assumptions of the discoverer himself. About to leave the lecture room where he had just been trying to prove the non-existence of such magnetic properties (an attempt seemingly crowned with success), Oersted happened to glance once more at his demonstration bench. To his astonishment he noticed that one of his magnetic needles was out of alignment; evidently it was attracted by a magnetic field created by the current running through a wire he had just been using, which was still in circuit. Thus what had escaped Oersted throughout his planned researches - namely, that the magnetic force which accompanies an electric current must be sought in a direction at right angles to the current - a fortuitous event enabled him to detect.