This is the 52nd presidential election.
The seventh was the nation's first wartime election. President Madison preferred diplomacy to war to deal with British interference with American shipping (in connection with its waging of war against France), but Congress was dominated by "War Hawks," young Western and Southern members of his party like Henry Clay and John C. Calhoun.
The War Hawks said they objected to violations of neutrality rights in principle. But as expansionists they also saw in war a pretext for annexing Canada and Florida. Madison was renominated by the congressional caucus only after signaling his willingness to declare war.