Lincoln was morally opposed to slavery and politically opposed to any expansion of it. At issue was extension into the western territories. On October 16, 1854, in his "Peoria Speech", Lincoln declared his opposition to slavery, which he repeated in his route to presidency.
While slavery was the major issue separating the North and South, it was not slavery itself that sparked the conflict. The South wanted to secede from the Union, and the North refused. While President Abraham Lincoln personally opposed slavery, he recognized that it was legal under the U.S. Constitution at the time. He also recognized that few in the North were ready to go to war to free the slaves. For Lincoln and the northern majority, preservation of the Union was the foremost goal.