Abraham Lincoln was a Republican. At the time the party was newly formed and emerged from the collapse of the Whig Party. It was opposed to the expansion of slavery into new territories.