There are three categories of ritual in Lingbao Daoism. The first is known as the heavenly Golden Register of Rituals, and is carried out to prevent natural disasters. During the Tang Dynasty, this ritual was carried out in honour of the imperial family, but later it could be performed by anyone. The earthly Yellow Register ritual was performed to ensure the dead was at rest. The final type of ritual, which has not survived, was the human Jade Register, which was performed to ensure the salvation of mankind. Of the rituals that have survived, the Golden Register has assumed the role of the Jade register, ensuring salvation and preventing bad weather.