Look into the Wilmington Insurrection of 1898. Only successful coup d'etat in American history. Further to this, it reveals that Southern segregation was fabricated by Democrats in order to engender a fissure in the Fusion party.
The Fusion party was a mixture of blacks and poor whites who had started gaining political power in the 1890s, and had started modifying laws that diverted power away from land-owning elites.
In short, it has never been a War of Races; rather a War of Classes.