The American Civil War, which took place from 1861 to 1865, was a defining moment in the history of the United States.