Given the task definition and input, reply with output. In this task, you will be presented with a question and you have to answer the question based on your knowledge. Your answers should be as short as possible.

What year did a General narrowly lose the campaign for Governor of the State he is noted for that was the 17th state admitted to the Union ?
1880