Abraham Lincoln's tenure as the 16th president of the United States began on March 4, 1861, and ended upon his death on April 15, 1865, 42 days into his second term. Lincoln, the first Republican president, successfully presided over the Union victory in the American Civil War, which dominated his presidency and resulted in the end of slavery in the United States. He was succeeded by Vice President Andrew Johnson.
Lincoln took office following the 1860 presidential election, in which he won a plurality of the popular vote in a four-candidate field. Almost all of Lincoln's votes came from the Northern United States, as the Republicans held little appeal to voters in the Southern United States. A former Whig, Lincoln ran on a political platform opposed to the expansion of slavery in the territories. His election served as the immediate impetus for the outbreak of the Civil War. After being sworn in as president, Lincoln refused to accept any resolution that would result in Southern secession from the Union. The Civil War began weeks into Lincoln's presidency with the Confederate attack on Fort Sumter, a federal installation located within the boundaries of the Confederacy.