 The 1846–48 Mexican–American War gave the proposal new steam as the responsibilities of the federal government grew.Polk's Secretary of the Treasury, Robert J. Walker, became a vocal champion of creating the new department.In 1849, Walker stated in his annual report that several federal offices were placed in departments with which they had little to do.