Joseph Larmor and Hendrik Lorentz discovered that Maxwell's equations, used in the theory of electromagnetism, were invariant only by a certain change of time and length units. This left some confusion among physicists, many of whom thought that a luminiferous aether was incompatible with the relativity principle, in the way it was defined by Henri Poincaré :