Later on, he became a Myobo hakase (teacher of the law in the Ritsuryo system), Kageyushi (Board of Discharge Examiners), Kazue no kami (the head of budget bureau), and wrote 'Ryonoshuge' (Commentaries on the Civil Statutes) and 'Ritsu-no-shuge.'
その後明法博士・勘解由使・主計頭になり、「令集解」と「律集解」を著した。