Solution:The modification made by Maxwell to the existing electromagnetic laws was to Ampere's Law. He introduced a term known as the "displacement current" to account for the changing electric field in a capacitor.
This modification was crucial to make Ampere's Law consistent with the conservation of charge in situations where the electric field is changing, such as in a charging or discharging capacitor.
With this modification, Maxwell's equations became a complete set that could describe all electromagnetic phenomena, leading to the prediction and subsequent discovery of electromagnetic waves.