Most Confederates were ultimately pardoned for the crime of treason against the United States. Decades later, the Army began honoring them in southern states.
source https://www.nytimes.com/2022/12/02/us/politics/army-base-names-south-confederates.html