John Adams Jr. (October 30, 1735 – July 4, 1826) was an American statesman, attorney, diplomat, writer, and Founding Father who served as the second president of the United States from 1797 to 1801. Before his presidency, he was a leader of the American Revolution that achieved independence from Great Britain, and he served as the first vice president of the United States. Adams was a dedicated diarist and regularly corresponded with many important figures in early American history, including his wife and adviser Abigail Adams and Thomas Jefferson.A lawyer and political activist prior to the revolution, Adams was devoted to the right to counsel and presumption of innocence. He defied anti-British sentiment and successfully defended British soldiers against murder charges arising from the Boston Massacre. Adams was a Massachusetts delegate to the Continental Congress and became a leader of the revolution. He assisted in drafting the Declaration of Independence in 1776. As a diplomat in Europe, he helped negotiate a peace treaty with Great Britain and secured vital governmental loans. Adams was the primary author of the Massachusetts Constitution in 1780, which influenced the United States constitution, as did his essay Thoughts on Government.Adams was elected to two terms as vice president under President George Washington and was elected as the United States' second president in 1796. He was the only president elected under the banner of the Federalist Party. During his single term, Adams encountered fierce criticism from the Jeffersonian Republicans and from some in his own Federalist Party, led by his rival Alexander Hamilton. Adams signed the controversial Alien and Sedition Acts and built up the Army and Navy in the Quasi-War with France. During his term, he became the first president to reside in the executive mansion now known as the White House.In his bid for reelection, opposition from Federalists and accusations of despotism led to Adams losing to Thomas Jefferson. Adams retired to Quincy, Massachusetts. He eventually resumed his friendship with Jefferson by initiating a correspondence that lasted 14 years. Adams and his wife, Abigail, began a family that has made contributions to America's political and intellectual life for more than 150 years, a family that included their son, John Quincy Adams, the sixth president of the United States. Adams and Jefferson died on July 4, 1826, the 50th anniversary of the adoption of the Declaration of Independence. Of the first 12 U.S. presidents, Adams and his son are the only presidents who did not ever own slaves.