who was president during the war of 1812?
James Madison was the president of the United States during the War of 1812.
He was the 4th U.S. president and served from 1809 to 1817, which covers the entire period of the war (1812–1815). Because of his central role, some contemporaries even nicknamed the conflict “Mr. Madison’s War.”