Later he became a doji (child acolyte of Buddhism) of Gango-ji (Asuka-dera) Temple and got rid of Gagoze (monster), a man-eating ogre, which lived in a shoro-do (bell tower).
その後元興寺（飛鳥寺）の童子となり、鐘楼堂にすむ人食い鬼（元興寺(妖怪)）を退治した。