<human>:  Who discovered the law of electromagnetism?
<bot>: The law of electromagnetism was discovered by James Clerk Maxwell in the 19th century. Maxwell was the first person to describe the relationship between electric and magnetic fields. He also described the relationship between electric and magnetic forces.