What year did Abraham Lincoln help end the slavery times?

What year did Abraham Lincoln help end the slavery times?