J.J. Thomson discovered the electron in 1897 during his experiments with cathode rays.