Question: when was james madison in the house of representatives?
Would "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 ." be a reasonable answer? 