was a samurai of the late Edo period who went on to become an educator and politician in the Meiji era.