The chthonic, or earth-dwelling, spirit has precedents in numerous ancient and medieval mythologies, often guarding mines and precious underground treasures, notably in the Germanic dwarfs and the Greek Chalybes, Telchines, or Dactyls.