He worked in various areas including Danjodai (Police Agency) and was knowledgeable about legal matters playing an active role in the compilation of "Ryonogige"(The Commentary on the Legal Code).
弾正台などを歴任し、法理に明るく『令義解』の編纂にも深く関与している。