Republican party was founded in 1854 as the anti-slavery party.
Ku Klux Klan was founded in 1866 as a pro-slavery, pro-segregation, and white power organization. (Coincidence?)
Founded in 1866, the Ku Klux Klan (KKK) extended into almost every southern state by 1870 and became a vehicle for white southern resistance to the Republican Party’s Reconstruction-era policies aimed at establishing political and economic equality for blacks. - History Channel
The Dred Scott decision was in 1857. President-elect Buchanan (a Democrat) wrote to Supreme Court Justice John Catron (a Democrat) about settling the case before his inauguration. Chief Justice Taney (also a Democrat) delivered the Court's opinion that a slave could not be a citizen of the United States.
The Republican Abraham Lincoln was elected President in 1861.