During the American Civil War (1861-1865), Jefferson Davis served as the president of the Confederate States of America. As secretary of war under United States President Franklin Pierce and a two-term senator from Mississippi, Davis was a pro-slavery advocate who initially opposed secession. However, when his state withdrew from the Union, he resigned from the U.S. Senate in support of the South.