The Constitution provides that "the President of the Senate shall, in presence of the Senate and House of Representatives, open all the certificates, and the votes shall then be counted." Certain Republicans held that the power to count the votes lay with the President of the Senate, the House and Senate being mere spectators; the Democrats objected to this construction, since the Republican President of the Senate, Thomas W. Ferry, could then count the votes of the disputed states for Hayes.