 During the remaining years of the Tang dynasty, the monks who inhabited the place had established it into a Buddhist sacred land.It used to have different names.In 1684, around the beginning of the Qing dynasty, general Shi Lang provided funds to rebuild the temple, where the Bodhisattva Guanyin was mainly worshipped.