Answer :
They did it by appealing to their racism. The democrats in the south were the ones who were the confederacy in the civil war and after that they had to accept African-Americans even though they didn't want to. Conservative republicans used this to get them to vote for them because the racist democrats believed that northern democrats abandoned them.