It was an adaptation from 'Bai Niangzi yong zhen lifengda (Eternal Prisoner Under the Thunder Peak Pagoda)' in "Jingshi tongyan 'Warning Words to Penetrate the Age)," but it has a unique ending connected with the story of Anchin and Kiyohime.
原話は、『警世通言』「白娘子永鎮雷峰塔」であるが、途中から終結を安珍・清姫伝説へ結びつける、独自な要素をもっている。