In J. R. R. Tolkien's legendarium, Elves are one of the races that inhabit a fictional Earth, often called Middle-earth, and set in the remote past. They appear in The Hobbit and in The Lord of the Rings, but their complex history is described more fully in The Silmarillion. Tolkien had been writing about Elves long before he published The Hobbit.