U.S. President James Monroe appointed John C. Calhoun secretary of war in 1817.