May 27, 1865
WAR DEPARTMENT
Ordered , That in all cases of sentences by military tribunals of imprisonment during the war the sentence be remitted and that the prisoners be discharged. The Adjutant-General will issue immediately the necessary instructions to carry. this order into effect.
By order of the President of the United States:
EDWIN M. STANTON,
Secretary of War.
Andrew Johnson, Executive Order Online by Gerhard Peters and John T. Woolley, The American Presidency Project https://www.presidency.ucsb.edu/node/202085