Invited as politics adviser to Yoshinaga MATSUDAIRA, he engaged in the reformation of domain duties of Fukui Domain and also the reformation of the shogunate government as adviser to Shungoku, who was the president of political affairs of bakufu.
松平慶永の政治顧問として招かれ、福井藩の藩政改革、さらには幕府の政事総裁職であった春嶽の助言者として幕政改革にかかわる。