Buddhism never fully recovered after several major persecutions in China from the 5th through the 10th centuries, although Daoism continued to thrive in Song China. In northern China under the Jin dynasty after 1127, the Daoist philosopher Wang Chongyang (1113–1170) established the Quanzhen School. Wang's seven disciples, known as the Seven Immortals, gained great fame throughout China. They included the prominent Daoist priestess Sun Bu'er (c. 1119–1182), who became a female role model in Daoism. There was also Qiu Chuji (1148–1227), who founded his own Quanzhen Daoist branch known as Longmen ("Dragon Gate"). In the Southern Song, cult centers of Daoism became popular at mountain sites that were reputed to be the earthly sojourns of Daoist deities; elite families had shrines erected in these mountain retreats in honor of the local deity thought to reside therein. Much more so than for Buddhist clergy, Daoist priests and holy men were sought when one prayed for having a son, when one was physically ill, or when there was need for change after a long spell of bad weather and poor harvest.