Jefferson Davis (1808-1889) was a Mexican War hero, U.S. senator from Mississippi, U.S. secretary of war and president of the Confederate States of America for the duration of the American Civil War (1861-1865). Prior to the start of the war, Davis had argued against secession, but when Mississippi seceded he resigned from the U.S. Senate. In February 1861 he was elected president of the Confederacy. Davis faced difficulties throughout the war as he struggled to manage the Southern war effort, maintain control the Confederate economy and keep a new nation united. Davis’ often contentious personality led to conflicts with other politicians as well as his own military officers. In May 1865, several weeks after the Confederate surrender, Davis was captured, imprisoned and charged with treason, but never tried.