When was it proposed that electricity and magnetism were distinct effects by scientists William Gilbert ?
In 1790 , Prof. Luigi Alyisio Galvani of Bologna , while conducting experiments on " animal electricity " , noticed the twitching of a frog 's legs in the presence of an electric machine .