Adams was a Federalist and served in the administrations of all the presidents that preceded him. He was Secretary of State under James Monroe, his predecessor as president. He began his service when he was just 27 in 1794 when he was named United States Minister to the Netherlands by President Washington. 