章太炎
"Yan" was sometimes considered to be a position in the celestial hierarchy, rather than an individual. There were said to be cases in which an honest mortal was rewarded the post of Yan and served as the judge and ruler of the underworld. Some said common people like Bao Zheng, Fan Zhongyan, Zhang Binglin became the Yan at night or after death.