The end of Reconstruction involved an intricate interplay of legal rights and remedies with a bloody mix of racial violence. That is another story. What I have endeavored to address here is the role of the military in the first few years following the military defeat and surrender of the Confederacy.
Thomas D. Morris,
Military Justice in the South, 1865-1868: South Carolina as a Test Case
54 Clev. St. L. Rev.
available at https://engagedscholarship.csuohio.edu/clevstlrev/vol54/iss4/4