The 1812 United States presidential election was the seventh quadrennial presidential election. It was held from Friday, October 30, 1812 to Wednesday, December 2, 1812. Taking place in the shadow of the War of 1812, incumbent Democratic-Republican President James Madison defeated DeWitt Clinton, who drew support from dissident Democratic-Republicans in the North as well as Federalists. It was the first presidential election to be held during a major war involving the United States. Northern Democratic-Republicans had long been dissatisfied by the Southern dominance of their party, and DeWitt Clinton's uncle, Vice President George Clinton, had unsuccessfully challenged Madison for the party's 1808 presidential nomination. While the May 1812 Democratic-Republican congressional nominating caucus re-nominated Madison, the party's New York caucus, also held in May, nominated Clinton for president. After the United States declared war on the United Kingdom in June 1812, Clinton sought to create a coalition of anti-war Democratic-Republicans and Federalists. With Clinton in the race, the Federalist Party declined to formally put forth a nominee, hoping its members would vote for Clinton, but they did not formally endorse him, fearing that an explicit endorsement of Clinton would hurt the party's fortunes in other races. Federalist Jared Ingersoll of Pennsylvania became Clinton's de facto running mate. A dissident faction of the Federalist Party attempted to nominate former Vice-Presidential candidate Rufus King over Clinton, but only succeeded in doing so in Virginia. Despite Clinton's success at attracting Federalist support, Madison was re-elected with 50.4 percent of the popular vote to his opponent's 47.6%, making the 1812 election the closest election up to that point in the popular vote. Clinton won the Federalist bastion of New England as well as three Mid-Atlantic states, but Madison dominated the South and took Pennsylvania. This was the narrowest popular vote margin for a victorious re-elected president until 2004. Background Residual military conflict resulting from the Napoleonic Wars in Europe had been steadily worsening throughout James Madison's first term, with the British Empire and the French Empire both ignoring the neutrality rights of the United States at sea by seizing American ships and looking for supposed British deserters in a practice known as impressment. The British provided additional provocations by impressing American seamen, maintaining forts within United States territory in the Northwest, and supporting American Indians at war with the United States in both the Northwest and Southwest. Meanwhile, expansionists in the south and west of