By passing segregation laws
This meant that African Americans were seperate from whites in bathrooms, transportation, schools, political movements, voting, and even some stores banned them from entering.
Most African American schools were in poor condition when it involved cleanliness and textbooks.
Over decades following these issues, the Civil Rights would arrive and eliminate lots of these issues.