Andrew Johnson actually said...
The danger of a defeat of the popular choice in an election by the House of Representatives is no greater than in an election made nominally by the people themselves.
Context
Special Message
07/17/1868