The conclusion of the American Civil War commenced with the articles of surrender agreement of the Army of Northern Virginia on April 9, at Appomattox Court House, by General Robert E. Lee and concluded with the surrender of CSSย Shenandoah on November 6, 1865, bringing the hostilities of the American Civil War to a close. Legally, the war did not end until a proclamation by President Andrew Johnson on August 20, 1866, when he declared "that the said insurrection is at an end and that peace, order, tranquillity, and civil authority now exist in and throughout the whole of the United States of America." The Confederate government being in the final stages of collapse, the war ended by debellatio, with no definitive capitulation from the rapidly disintegrating Confederacy; rather, Lee's surrender marked the effective end of Confederate military operations. The Confederate cabinet held its final meeting on May 5, at which point it declared the Confederacy dissolved, ending its substantive existence; despite this, some remnant Confederate units did not surrender for another month.
Lee's defeat on April 9 began the effective end of the war, after which there was no substantial resistance, but the news of his surrender took time to spread and some fighting continued, though only small skirmishes. President Abraham Lincoln lived to see Lee's surrender after four bloody years of war, but he was assassinated just five days later. The Battle of Columbus, Georgia, was fought on April 16, the day after Lincoln died. For the most part though, news of Lee's defeat led to a wave of Confederate surrenders. Gen. Joseph E. Johnston surrendered his large Army of Tennessee and the Southeastern Department on April 26. The Confederate cabinet was dissolved on May 5, and Confederate president Jefferson Davis was captured by Union soldiers on May 10, one day after Lincoln's successor, Andrew Johnson, declared that the belligerent rights of the Confederacy were at an end, with the rebellion effectively over.