Eventually, he was linked to the faith of Juo (Ten Kings) by the bogus sutra called "Enra-o-juki Shishu Gyakushu Shoshichiojo Jodo-kyo Sutra" (abbreviated as "Yoshu Juo Shoshichi-kyo Sutra, Yuxiu Shiwang Shengdijing Sutra"), which was compiled in the era of the late Tang dynasty and became the object of faith as one of the judges of Hell, whose role was to judge persons after death.
やがて晩唐に撰述された偽経である『閻羅王授記四衆逆修生七往生浄土経』（略して『預修十王生七経』）により十王信仰と結び付けられ、地獄の裁判官の一人として「人が死ぬと裁く」という役割を担い、信仰の対象となった。