This situation dramatically changed in the 1860s when the Scottish physicist James Clerk Maxwell, in a watershed theoretical treatment, unified the fields of electricity, magnetism, and optics. In his formulation of electromagnetism, Maxwell described light as a propagating wave of electric and magnetic fields.