D. to racially segregate public facilities
The Jim Crow laws were state and local statutes that enforced racial segregation in the Southern United States, effectively institutionalizing a system of discrimination against African Americans and ensuring that public facilities and services were separated based on race.