That's history! That's how events unfolded. The Democratic leadership realized there was more profit in doing the right thing so they switched. It was pure greed and hunger for power from the Democratic leadership.
The Republicans could have done the same, then the Republicans would have stayed in power but they didn't want to embrace change. They were set in their ways and refused to let go of that old style racism.
The refusal to evolve cost them everything just like embracing it under Trump is costing them everything now.
Look at Joe Biden - He's a racist old fuck who wrote one of the most damaging crime bills in history but he knows how to hide his racism and be subtle about it so he gets away with it.
The worst thing Democrats will do to black people is neglect them or deny them justice.
Republicans want to kill them.
That's why Democrats win the vote. Neglect with occasional help is better than constant abuse.
If Republicans actually tried helping people instead of being murderous psychopaths they could get away with a lot more backhanded racism but conservative voters are too stupid to understand anything that isn't as blunt as a 2x4 to the face.
You're all stupid so Republican politicians have to wow you with lights, pretty colors, and blatant racism to get you to vote for them. Dog whistles don't work when the dog is too stupid to know what it means.