From 1854, the samurai army and the navy were modernized.