Three amendments were added to the U.S. Constitution in the years after the war: the aforementioned Thirteenth as well as the Fourteenth Amendment providing citizenship to the nearly four million African Americans who had been slaves, and the Fifteenth Amendment ensuring in theory that African Americans had the right to vote.