he was later appointed as secretary of war and president of the council of ministers