This is a correct answer to the following question about James Madison. Yes or no?
Answer: 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 .
Question: when was james madison in the house of representatives
