 Arsenals were established in 1865 in 1867, and a naval dockyard in 1866.Their products performed very poorly in wars against European powers, but did give the government superior firepower against peasant uprisings.A machine factory was established in 1870, and students were sent for advanced education to the United States starting in 1872.