The Civil Rights Act is what happened. Nixon shifted the party hard into the Southern Strategy and Reagan married it to the evangelical right who had changed their platform because the IRS said they had to let Black people in their private schools or lose tax status.