 During and after the Tang dynasty (618-907), "Nuoji" gradually developed into a dance drama and became more of a recreation than a ritual.It became a masked drama enacted by a priest performing an exorcism, and has been described as "theater with a presentational aspect, a festival, and the idea of gatherings to establish ties and norms.