Question: who brought the civil war to an end in april 1865
Answer: President Johnson formally declared the end of the war on August 20 , 1866 .