A supporter of Sir Robert Peel, he served as Secretary to the Treasury (1845–46) and as Secretary for War in Gladstone’s ministry of 1868–74. British incompetence in the Crimean War (1853–56) and the efficiency of the German army in the European wars of the 1860s were the background to Cardwell’s military reforms.