Abraham Lincoln was elected the 16th U.S. president at a time when the country was divided over slavery. As president, Lincoln helped end slavery. He became one of the most influential presidents in the nation's history.