What was the purpose of Jim Crow laws in South Carolina

The purpose of Jim Crow laws in South Carolina, as with the rest of the Southern United States, was to enforce racial segregation and maintain white supremacy. These laws were designed to restrict the rights of black Americans, including their access to education, public facilities, and voting rights, among others. The Jim Crow laws were discriminatory and deeply harmful to African Americans, perpetuating decades of inequality and oppression.