<human>:  Who discovered the law of electromagnetism?
<bot>: The law of electromagnetism was discovered by James Clerk Maxwell in the 19th century. Maxwell’s theory of electromagnetism laid the foundation for our modern understanding of electricity and magnetism.