Ministry of the Treasury
After the Meiji restoration, the new Meiji government assigned her to the Ministry of War and subsequently to the Ministry of the Treasury.