In his letters and books, Maxwell described the agent opening the door between the chambers as a "finite being". William Thomson (Lord Kelvin) was the first to use the word "demon" for Maxwell's concept, in the journal Nature in 1874, and implied that he intended the Greek mythology interpretation of a daemon, a supernatural being working in the background, rather than a malevolent being.
