when was james madison in the house of representatives
James Madison
As president (1809–17), after the failure of diplomatic protests and a trade embargo against Great Britain, he led the nation into the War of 1812 .