With Albert Einstein 's special relativity and the Michelson–Morley experiment, it became clear that electromagnetic waves could travel in vacuum without the need of a medium or luminiferous aether. Einstein also developed general relativity, in which spacetime was treated as a field and its curvature was the origin of the gravitational interactions, putting an end to action at a distance.