The Republican Party, of course, was founded in 1848 with the abolition of slavery as its core mission. Almost immediately after its second presidential candidate, Abraham Lincoln, won the 1860 election, Democrat-controlled southern states seceded on the assumption that Lincoln would destroy their slave-based economies.
Once the Civil War ended, the newly freed slaves as expected flocked to the Republican Party, but Democrat control of the South from Reconstruction until the Civil Rights Era was near total. In 1960,
Democrats held every Senate seat south of the Mason-Dixon line. In the 13 states that made up the Confederacy a century earlier, Democrats held a staggering 117-8 advantage in the House of Representatives. The Democratic Party was so strong in the south that those 117 House members made up a full 41% of Democrats' 283-153 advantage in the Chamber.