under republican congressional leadership, the thirteenth amendment to the united states constitution—which banned slavery in the united states—passed the senate in 1864 and the house in 1865; it was ratified in december 1865. in 1865, the confederacy surrendered, ending the civil war. lincoln was assassinated in april 1865; following his death, andrew johnson took office as president of the united states.