Under the Dokyo government, he continued to be promoted and in 766, he became Sangi (royal advisor) and was promoted to Jusanmi (Junior Third Rank) in 771 after the succession of Emperor Konin.
道鏡政権下で叙位・任官を重ね、天平神護2年（766年）に参議、光仁天皇即位後の宝亀2年（771年）従三位に昇叙された。