Two of Arizona's representatives in Congress are leaving the House at the beginning of the year.

U.S. Rep. Jeff Flake, R-Mesa, and U.S. Rep. Ben Quayle, R-Phoenix, will leave their seats Jan. 2.

Flake was elected to replace retiring U.S. Sen. Jon Kyl, and in his parting words for his colleagues, he reflected on serving when Republicans were in the majority and when Democrats were in the majority. He said he preferred when his party had the power.

“But either party holding the reigns of power should realize that their grasp is tenuous. And that’s a good thing. Both parties benefit by taking turns in the wilderness every now and then," Flake said.

Quayle lost his primary election earlier this year to fellow Republican Rep. David Schweikert. The two found themselves facing off after the political boundaries were redrawn in the redistricting process this year.

Quayle said he had hoped to restore the idea that the people hold the power in U.S. government. While he said he didn't meet all of his goals for his two-year term, he did help work on the country's problems.

“We did take steps toward solving the biggest and most severe issues that we face. We must build on this and not shrink from solving the fiscal disaster that awaits us if we do nothing," he said.