Ancient Chinese cosmogonists defined four types of dragons: the Celestial Dragon (Tianlong), who guards the heavenly dwellings of the gods; the Dragon of Hidden Treasure (Fuzanglong); the Earth Dragon (Dilong), who controls the waterways; and the Spiritual Dragon (Shenlong), who controls the rain and winds.