Segregation and inequality stems from the Dark Ages, when white people who encountered people of color sought to eliminate the source of their numerical inferiority by enslaving and murdering those they were threatened by.
Blacks were condemned to separate (often lesser) public facilities, such as schools, eateries, and even water fountains. In many areas, they were sentenced to their own part of town.
The Voting Rights Act of 1965 went further to ensure all were allowed to vote by outlawing literacy tests and by providing federal surveillance of areas that had previously discriminated against voters.
From the beginning, women were denied any roles in community aside from mother and wife. Such beliefs were derived from the Bible, and reinforced by the government. Women were denied the basic rights to dispose of property, vote, and divorce.
Title IX forbids any school receiving federal money from discriminating students on the basis of gender. This helped in enriching women's sports leagues.
In GRUTTER v. BOLLINGER and GRATZ v. BOLLINGER, the Supreme Court adhered to its ruling that race could be a factor in college admissions, but quotas are illegal.