When was the switch made between democrats and republicans?

by VirPotens

If you're an educated person, you'd know that the republican party in the United States was formed as an anti-slavery party. Nowadays you see people claiming the Republicans were the supposed racist southeners of the civil war, but that obviously isn't true. When exactly did people make that switch? What or who caused it and why?

bk_ou2016