James Clerk Maxwell derived it using hydrodynamics in his 1861 published paper " On Physical Lines of Force ". In 1865 he generalized the equation to apply to time-varying currents by adding the displacement current term, resulting in the modern form of the law, sometimes called the Ampère–Maxwell law, which is one of Maxwell's equations that form the basis of classical electromagnetism.