What are the Black Codes?

The black codes were statutes written prior to the civil war in United States history. These statutes were laws that granted certain black people who came to the US the right to marry, own property, and to sue in a court of law. These statutes also provided the rules for segregation of public places for African Americans and white people.