Conversation so far:
What political position did Newt Gingrich campaign for in 2011?
In early 2011, he chose to run for president to seek the 2012 Republican Party nomination for President of the United States.
Did Newt Gingrich win the 2012 election?
No, Barack Obama won.
What did Newt Gingrich do after becoming a candidate in the 2012 election?
On April 25, 2012, he announced he would suspend his campaign on Tuesday, May 1, and endorse Mitt Romney. He withdrew from the race on Wednesday, May 2.
Did Flynt agree to a rematch with Newt?
Gingrich sought a rematch against Flynt in 1976.
Did Flynt propose another rematch after the rematch in 1976?
As Gingrich primed for another run in the 1978 elections, Flynt decided to retire.
Did Newt Gingrich win the 1978 election?
Yes, he won.

Question: How many terms did he serve?
Self-contained rewrite: How many terms did Newt Gingrich serve as U.S. Representative?