<human>: Answer by taking a quote from the following article:

Elbridge Gerry was born on July 17, 1744, in Marblehead, Massachusetts. His father, Thomas Gerry, was a merchant operating ships out of Marblehead, and his mother, Elizabeth (Greenleaf) Gerry, was the daughter of a successful Boston merchant. Gerry's first name came from John Elbridge, one of his mother's ancestors. Gerry's parents had eleven children in all, although only five survived to adulthood.

Anti-Federalist forces nominated Gerry for governor in 1788, but he was predictably defeated by the popular incumbent John Hancock. Following ratification, Gerry recanted his opposition to the Constitution, noting that a number of state ratifying conventions had called for amendments that he supported. He was nominated by friends (over his own opposition to the idea) for a seat in the inaugural House of Representatives, where he then served two terms.  In June 1789 Gerry proposed that Congress consider all of the proposed constitutional amendments that various state ratifying conventions had called for (notably those of Rhode Island and North Carolina, which had at the time still not ratified the constitution). In the debate that followed, he led opposition to some of the proposals, arguing that they did not go far enough in ensuring individual liberties. He successfully lobbied for inclusion of freedom of assembly in the First Amendment, and was a leading architect of the Fourth Amendment protections against search and seizure. He sought unsuccessfully to insert the word "expressly" into the Tenth Amendment, which might have more significantly limited the federal government's power. He was successful in efforts to severely limit the federal government's ability to control state militias. In tandem, with this protection, he had once argued against the idea of the federal government controlling a large standing army, comparing it - most memorably and mischievously - to a standing penis: "An excellent assurance of domestic tranquility, but a dangerous temptation to foreign adventure."  Gerry vigorously supported Alexander Hamilton's reports on public credit, including the assumption at full value of state debts, and supported Hamilton's new Bank of the United States, positions consistent with earlier calls he had made for economic centralization. Although he speculated in depreciated Continental bills of credit (the IOUs at issue), there is no evidence he participated in large-scale speculation that attended the debate when it took place in 1790, and he became a major investor in the new bank. He used the floor of the House to speak out against aristocratic and monarchical tendencies he saw as threats to republican ideals, and generally opposed laws and their provisions that he perceived as limiting individual and state liberties. He opposed any attempt to give officers of the executive significant powers, specifically opposing establishment of the Treasury Department because its head might gain more power than the President. He opposed measures that strengthened the Presidency (such as the ability to fire cabinet officers), seeking instead to give the legislature more power over appointments.  Gerry did not stand for re-election in 1792, returning home to raise his children and care for his sickly wife. He agreed to serve as a presidential elector for John Adams in the 1796 election. During Adams' term in office, Gerry maintained good relations with both Adams and Vice President Thomas Jefferson, hoping that the divided executive might lead to less friction. His hopes were not realized: the split between Federalists (Adams) and Democratic-Republicans (Jefferson) widened. CANNOTANSWER

How long was he a representative?
<bot>: where he then served two terms.