 In 1889, he assisted in the establishment of the Law School of Nihon University.In October 1890, Matsuoka became head of the Tokyo Appeals Court.In June 1891, he was promoted to the position of Attorney-General, and was given a seat in the House of Peers of the Diet of Japan in December of the same year.