Who was the U.S. president during the war of 1812?

A.
Thomas Jefferson

B.
James Madison

C.
John Adams

D.
George Washington