When was it proposed that electricity and magnetism were distinct effects by scientists William Gilbert ?
A key attached to the kite string sparked and charged a Leyden jar , thus establishing the link between lightning and electricity .