What was Abraham Lincoln's job before he was President?

What was Abraham Lincoln’s job before he was President?