The official end of the Civil War was declared on August 20th 1866.
Although many people assume the end of the Civil War occurred when General Robert E Lee and General Ulysses S Grant met in Appomattox in April of 1865, the war continued on for many more months. In April Mosby’s Raiders, and General Joseph E Johnston troops surrendered or disbanded. In May they were followed by Major General Dabney Herndon Maury the commander of Florida and South Georgia, Edmund Kirby Smith, and others. The last battle of the war was fought on May 13th 1865 at the Battle of Palmito Ranch in Texas. The last Confederates to surrender were those on board the CSS Shenandoah, who gave up on November 6th 1865.
President Andrew Johnson made a formal declaration to the end of the war on August 20th 1866. He signed the “Proclamation—Declaring that Peace, Order, Tranquility, and Civil Authority Now Exists in and Throughout the Whole of the United States of America.”