The quantum theory of the electron