Jefferson F. Davis was the only president of the Confederate States from 1861 to 1865. He represented Mississippi in the United States Senate and the House of Representatives as a member of the Democratic Party before the American Civil War. He was the 23rd United States secretary of war from 1853 to 1857.