 The arrival of Buddhism had great influence on the Northern Celestial Masters, bringing monasticism and influencing the diet of practitioners.Art produced in areas dominated by the Northern Celestial Masters also began to show Buddhist influence.When the theocracy collapsed, many Daoists fled to Louguan, which quickly became an important religious center.