Here are five of the closest presidential races in U.S. history since 1840 as compiled by Yahoo!.
This race was close from the start. On election night, it looked as though the Republican challenger Hughes had won. But it all came down to California. Wilson won the state by just 0.3 percent, and won a second term as president.