When was it proposed that electricity and magnetism were distinct effects by scientists William Gilbert ?
However , the effect did not become widely known until 1820 , when Ørsted performed a similar experiment .