You will be given a definition of a task first, then some input of the task.
In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.

In one political cartoon, this politician's head is held by a rival candidate and is said to be a "fellow of infinite jest" in an imitation of Hamlet holding the skull of Yorick. One of this man's campaign slogans originated the phrase "Don't Change Horses in the Middle of the Stream." During his second run for president, this politician defeated the nominee of the "Peace Democrats." In this man's inaugural speech, he promised "malice towards none, with charity for all" after defeating his opponent George McClellan. For 10 points, name this American president who won the Election of 1864 and was later assassinated by John Wilkes Booth.
Output:
History