He carried out the Ansei no taigoku (Ansei Purge) as Jisha bugyo (magistrate of temples) under Tario (chief minister) Naosuke II, then became Osaka jodai (deputy castellan of Osaka Castle).
大老井伊直弼の元で寺社奉行として安政の大獄を行政化し、その後大坂城代を経る。