When did the American Civil War end?

The American Civil War formally concluded on August 20, 1866 when President Andrew Johnson issued a proclamation declaring that civil authority was restored in all of the states.