In the modern era, scientists have continued to refine the theorem of electromagnetism to take into account the effects of modern physics, including quantum mechanics and relativity. The theoretical implications of electromagnetism, particularly the establishment of the speed of light based on properties of the "medium" of propagation (permeability and permittivity), helped inspire Einstein's theory of special relativity in 1905. Meanwhile, the field of quantum electrodynamics (QED) has modified Maxwell's equations to be consistent with the quantized nature of matter. In QED, the changes in the electromagnetic field is expressed in terms of discrete excitations, particles known as photons, the quanta of light.