Seimei, who became very famous as an Ommyoji, was recognized for his talent in calculation, which he gained through ancient astrology, and he moved to Kazue-ryo (Office of Accounting) and worked as Kazue no Gon-no-suke (Deputy Director of Office of Accounting).
陰陽師として名声を極めた晴明は、天文道で培った計算能力をかわれて主計寮に異動し主計権助を務めた。