Fetching details from the dictionary...
top-ranking judge (in the ritsuryō system)
chief justice (1869-1875)