Using his ability to infiltrate White spaces, Hayne enlisted in the Confederacy with plans to defect to the Union Army as it occupied major sections of the South Carolina coast. In reflecting on his decision, Hayne recalled that it provided the best opportunity for him to go “through the lines” and defect: “I went with the South far enough to get out of it.” He eventually joined the Union’s all-Black 1st South Carolina Volunteer Infantry Regiment, under noted abolitionist commander Thomas Wentworth Higginson, earning the rank of commissary sergeant.
After the war’s conclusion, Hayne became involved in local politics and quickly moved up the ranks in state government. In 1868, he began his political career as a state senator for Marion County, and that same year he represented Marion at the convention responsible for drafting a new state constitution — one that expanded rights and privileges to South Carolina’s citizens, regardless of race. The 1868 constitution tore down the barriers that had previously blocked Black South Carolinians from participation, including entry into the state university.
Hayne also served in a number of clerical appointments, such as chairing the state penitentiaries’ board of directors, and serving as a member of the board for the state normal school.
In 1872, Hayne became South Carolina’s secretary of state. This elective position probably provided him the political and social capital necessary to personally disrupt the state’s last remaining icon of white supremacy — the University of South Carolina (USC).
But the revised state constitution brought institutional changes to the university that led toward its eventual desegregation. In 1869, two Black men had been appointed to the board of trustees, and they proclaimed the university was open to all qualified men, “regardless of race, color, or creed.”
White students and faculty, however, rose in outrage at the prospect of integrating the school. Faculty resigned and many students protested by loudly exiting the campus, some destroying property and physically blotting their names from the campus registry as they left.
https://www.washingtonpost.com/outlook/2022/01/23/what-weve-gotten-wrong-about-history-reconstruction/