When Taisei Hokan (transfer of power back to the Emperor) took place in 1867, he was appointed to Kokuji goyogakari (a general official of the Imperial Household in charge of the State affair).
大政奉還がなると慶応3年（1867年）国事御用掛に任じられる。