Lenz had begun studying electromagnetism in 1831. Besides the law named in his honor, Lenz also independently discovered Joule's law in 1842; to honor his efforts on the problem, it is also given the name the "Joule–Lenz law," named also for James Prescott Joule.