who was the U.S. president during the war of 1812?
james madison is correct
James Madison was the U.S. president during the war of 1812 :D