The war heavily overshadowed the campaign. Clinton continued his regional campaigning, adopting an anti-war stance in the Northeast (which was most harmed by the war), and a pro-war stance in the South and West. The election ultimately hinged on New York and Pennsylvania, and while Clinton took his home state, he failed to take Pennsylvania and thus lost the election. Though Clinton lost, the election was the best showing for the Federalists since that of Adams, as the party made gains in Congress and kept the presidential election reasonably close. Clintonite Democratic-Republicans in many states refused to work with their Federalist counterparts (notably in Pennsylvania) and Clinton was generally regarded by most as the Federalist candidate, though he was not formally nominated by them. Madison was the first of just four presidents in United States history to win re-election with a lower percentage of the electoral vote than in their prior elections, as Madison won 69.3% of the electoral vote in 1808, but only won 58.7% of the electoral vote in 1812. The other three were Woodrow Wilson in 1916, Franklin D. Roosevelt in 1940 and 1944 and Barack Obama in 2012. Additionally, Madison was the first of only five presidents to win re-election with a smaller percentage of the popular vote than in prior elections, although in 1812, only 6 of the 18 states chose electors by popular vote. The other four are Andrew Jackson in 1832, Grover Cleveland in 1892, Franklin Roosevelt in 1940 and 1944 and Obama in 2012.