by the end of the tokugawa shogunate in 1867, the japanese navy already possessed eight western-style steam warships around the flagship "kaiyō maru" which were used against pro-imperial forces during the boshin war, under the command of admiral enomoto. the conflict culminated with the naval battle of hakodate in 1869, japan's first large-scale modern naval battle.