 It is said that she came from Kuaiji.She was reportedly either the biological or the adopted daughter of a female musician, Zhang Shansheng (d. 1170), who was at one point employed in the palace, and became and actress in service of the Empress Dowager Wu.In this position, she came to the attention of the future Emperor Ningzong.