In August, 1865, a special military commission was convened by the secretary of war to try Wirz. The indictment charged him with injuring the health and destroying the lives of soldiers confined as prisoners at Andersonville, by subjecting them to torture and great suffering, by confining them in unhealthy and unwholesome quarters, by exposing them to the inclemency of the winter and the dews and burning sun of the summer, by compelling the use of impure water, and by furnishing insufficient and unwholesome food; also for establishing the "dead line," and ordering the guard to shoot down any prisoner attempting to cross it; for keeping and using bloodhounds to hunt down prisoners attempting to escape; and for torturing prisoners by confining them within the "stocks." Wirz, having been found guilty on these charges, was hanged Nov. 10, 1865. After the close of the war the cemetery at Andersonville was arranged by Col. Moore of the U. S. quartermaster's department, pursuant to orders from the secretary of war. The stakes were removed and neat head boards, inscribed in black letters, with the names of the dead were substituted.

The bodies in the trenches were found to be from two to three feet below the surface, and in some instances, where the rain had washed away the earth, but a few inches. They had been buried without coffins or the ordinary clothing, and not more than 12 inches in width had been allowed to each body. With the aid of the hospital record. 12,461 graves were identified and marked with tablets giving the number, name, rank, regiment, company, and date of death of each person; and 451 graves bore the inscription "Unknown U. S. Soldier." The cemetery -was carefully laid out in walks and adorned with trees.