The magnetic effect of electric current was first observed by:
H.C. Oersted
Hans C. Oersted was a Danish physicist and chemist who discovered that electric currents create magnetic fields. This was the first connection observed between electricity and magnetism.