Remaining in Tang even after that, with his scholarship he accepted becoming a believer in Buddhism by Xuanzong (Tang Dynasty), and in 855 he received kanjo (a ceremony to be the successor) along with Enchin from Hazzen of Qinglongsi Temple of Changan.
その後も唐に残り学識を持って宣宗(唐)の帰依を受け、また、855年（斉衡2年）円珍とともに長安青龍寺法全（はっぜん）から灌頂を受けた。