Since our government run schools are such a disgrace, I'll have to take it upon myself to educate you
The first Republican President was Abraham Lincoln.
Abraham Lincoln was originally affiliated with the Whig Party before its dissolution in 1854 and his consequent affiliation to the Republican Party. In May 1856, Lincoln attended the Bloomington Convention, at which the Illinois Republican Party was established. Lincoln was nominated with little opposition as the Illinois Republican Party’s Senate nomination for 1858. It was during his acceptance speech that he delivered his now-famous House Divided Speech. Although he lost the Senate election to Stephen A. Douglas, Lincoln was mentioned in several newspapers as a potential presidential candidate for 1860. Lincoln received his first endorsement during the Illinois Republican State Convention in Decatur on May 9–10, 1860. Lincoln was elected the 16th US president on November 6, 1860, making him the first Republican Party affiliated president. His election was extremely controversial in the southern states which strongly opposed Lincoln’s anti-slavery views.
And the first democrat President was Andrew Jackson
Jackson and his supporters formed the Democrat Party (formerly part of the Democrat-Republicans), while those against the new president were known as the Whig Party. He was a strong leader and not afraid to use his presidential veto power whenever it suited him, which earned Jackson the new nickname, “King Andrew I.” Jackson also opposed any laws that would outlaw slavery.
So there you have it, Lincoln outlawed slavery and Jackson loved slavery
Oh, and Jackson also loved murdering Indians and taking their land. That is your legacy with the foundation of the Democrat party.