Maxwell's contributions relate to electrons by explaining their behavior in tandem with atomic nuclei by introducing photons as the carrier of the force responsible to their behavior, which is necessary because electrons have charge, and notably, photons do not, and thus are not subject to the force that they mediate between particles.
It was discovered by J.J Thomson, at Cavendish, in the late 1800’s, partially via the use of the cathode.