American Civil War: President Andrew Johnson issues a proclamation ending belligerent rights of the rebels and enjoining foreign nations to intern or expel Confederate ships.

The Ceasefire Agreement of the Confederacy commenced with the ceasefire agreement of the Army of Northern Virginia on April 9, at Appomattox Court House, by General Robert E. Lee and concluded with the ceasefire agreement of the 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."Lee's defeat on April 9 marked the effective end of the war, after which substantial resistance was no longer possible, but isolated incidents continued as news spread. While President Abraham Lincoln lived to see Lee's surrender after four bloody years of war, he was assassinated just five days after Lee's surrender. Some fighting continued, but mostly small skirmishes. The Battle of Columbus, Georgia was fought on April 16, the same day Lincoln died. For the most part though, news of Lee's defeat led to a wave of Confederate surrenders. Joseph E. Johnston surrendered his large army on April 26. The Confederate cabinet dissolved on May 5. Andrew Johnson, Lincoln's successor, declared on May 9 that the belligerent rights of the Confederacy were at an end, with the insurrection "virtually" over. Union soldiers captured Confederate President Jefferson Davis on May 10.

The last battle of the War was fought at Palmito Ranch on May 1213. The last surrender on land did not come until June 23, when Cherokee Confederate General Stand Watie gave up his command. At sea, the last Confederate ship, CSS Shenandoah, did not surrender until November 6. It had continued sailing around the world raiding vessels until it finally received news of the end of the War. Shenandoah also fired the last shots of the War on June 22. By April 6, 1866, the rebellion was declared over in all states but Texas. Finally, on August 20, 1866, the war was declared legally over, though fighting had been over for more than a year by then.

The end of slavery in the United States of America is closely tied to the end of the Civil War. As the main cause of the War, slavery led to the Union Emancipation Proclamation, freeing slaves in the Confederacy as the Union advanced. The last slaves in the Confederacy were not freed until June 19, 1865, now celebrated as the national holiday Juneteenth. After the end of hostilities, the war-torn nation then entered the Reconstruction era in a partially successful attempt to rebuild the country and grant civil rights to freed slaves.

Andrew Johnson (December 29, 1808 – July 31, 1875) was the 17th president of the United States, serving from 1865 to 1869. He assumed the presidency as he was vice president at the time of the assassination of Abraham Lincoln. Johnson was a Democrat who ran with Lincoln on the National Union ticket, coming to office as the Civil War concluded. He favored quick restoration of the seceded states to the Union without protection for the former slaves. This led to conflict with the Republican-dominated Congress, culminating in his impeachment by the House of Representatives in 1868. He was acquitted in the Senate by one vote.

Johnson was born into poverty and never attended school. He was apprenticed as a tailor and worked in several frontier towns before settling in Greeneville, Tennessee. He served as alderman and mayor there before being elected to the Tennessee House of Representatives in 1835. After briefly serving in the Tennessee Senate, Johnson was elected to the House of Representatives in 1843, where he served five two-year terms. He became governor of Tennessee for four years, and was elected by the legislature to the Senate in 1857. In his congressional service, he sought passage of the Homestead Bill which was enacted soon after he left his Senate seat in 1862. Southern slave states seceded to form the Confederate States of America, including Tennessee, but Johnson remained firmly with the Union. He was the only sitting senator from a Confederate state who did not resign his seat upon learning of his state's secession. In 1862, Lincoln appointed him as Military Governor of Tennessee after most of it had been retaken. In 1864, Johnson was a logical choice as running mate for Lincoln, who wished to send a message of national unity in his re-election campaign; and became vice president after a victorious election in 1864.

Johnson implemented his own form of Presidential Reconstruction, a series of proclamations directing the seceded states to hold conventions and elections to reform their civil governments. Southern states returned many of their old leaders and passed Black Codes to deprive the freedmen of many civil liberties, but Congressional Republicans refused to seat legislators from those states and advanced legislation to overrule the Southern actions. Johnson vetoed their bills, and Congressional Republicans overrode him, setting a pattern for the remainder of his presidency. Johnson opposed the Fourteenth Amendment which gave citizenship to former slaves. In 1866, he went on an unprecedented national tour promoting his executive policies, seeking to break Republican opposition. As the conflict grew between the branches of government, Congress passed the Tenure of Office Act restricting Johnson's ability to fire Cabinet officials. He persisted in trying to dismiss Secretary of War Edwin Stanton, but ended up being impeached by the House of Representatives and narrowly avoided conviction in the Senate. He did not win the 1868 Democratic presidential nomination and left office the following year.

Johnson returned to Tennessee after his presidency and gained some vindication when he was elected to the Senate in 1875, making him the only former president to serve in the Senate. He died five months into his term. Johnson's strong opposition to federally guaranteed rights for black Americans is widely criticized; he is regarded by many historians as one of the worst presidents in American history.