Sentence:  Beccaria had almost <WSD>stumbled</WSD> on a lead to the relationship between electricity and magnetism when a discharge from a Leyden jar was sent transversally through a piece of watch spring steel making its ends magnetic . 
Meaning of the word marked with <WSD> tags:  encounter by chance