An example has been provided for you.

Somebody Wanted But So
American voters

a non-Federalist president in the 1800 election

Thomas Jefferson and Aaron Burr both won 73 electoral votes

the House of Representatives took a vote and declared Jefferson the winner.