Electrodynamics from Ampere to Einstein