Affirmative action came in response to Jim Crow. When slavery ended during the civil war, people had the idea that it wasn’t needed. It wasn’t until reconstruction ended and southern states leaned heavily into racist policy making that it became popular.