From 757 through 759, he contributed to the enforcement of the Yoro Ritsuryo Code, the change of official post names, and the compilation of 20 volumes of Bessiki (operational regulations of the Yoro Ritsuryo Code), which was not enforced in fact, and he was appointed as a Gyoshi-taifu (or Dainagon) in recognition of his great work in 758 in spite of his great age of 70.
757年から759年にかけては養老律令の施行・官職名の変更・別式20巻の編集（施行はされず）等に貢献し、その功もあってか、758年には70歳という高齢ながら、御史大夫（大納言）に任ぜられた。