which is corrctly punctuated

Presidential candidate Abraham Lincoln had just won the election.
Presidential candidate Abraham Lincoln had just won the election.

Presidential candidate, Abraham Lincoln, had just won the election.

The correct punctuation is: "Presidential candidate Abraham Lincoln had just won the election."