He was Secretary of State for part of Madison's first term & stayed in the post for the second term
[DOC] [TLE] James Monroe - U.S. Presidents - HISTORY.com [PAR] In 1803, he helped negotiate the Louisiana Purchase, which doubled the size of 
the U.S. ... and his friendship with both Jefferson and his secretary of state, 
Madison, soured.