In 1860, James Clerk Maxwell, who was a vocal proponent of atomism, was the first to use statistical mechanics in physics. Ludwig Boltzmann and Rudolf Clausius expanded his work on gases and the laws of thermodynamics especially the second law relating to entropy. In the 1870s, Josiah Willard Gibbs extended the laws of entropy and thermodynamics and coined the term "statistical mechanics."