"Petigru opposed the Confederacy, although he did not believe that South Carolina would return to the Union.He had been entrusted, in 1859, with the codification of the laws of South Carolina; he completed the task in December 1862.