He fought for American Independence as a Massachusetts delegate to the Continental Congress. He was a member of the team that worked on the Declaration of Independence and one of only two people who signed the Declaration to later become president (the other was Thomas Jefferson). During his presidency, his main accomplishment was keeping the United States out of war with France. France and Great Britain were at war and both wanted help from the US. The American public was divided. Some wanted to support France because France helped the US during the American Revolution. Others wanted to help Great Britain. Although it hurt his popularity at the time, Adams opted for peace and kept the country out of the war.