Lineoln , republikanernas kandidat , blef president , Hamelin vice president.