Rep. George Miller, a California Democrat and close ally of House Minority Leader Nancy Pelosi, announced Monday that he would retire after 20 terms as a congressman.

“This is a great institution and I cannot thank my family and my constituents enough for having given me the honor and privilege of representing my district in Congress these past 40 years,” Miller said in a statement.

Miller is the top-ranking Democrat on the House Education and the Workforce Committee and is the fifth-longest serving congressman. He was just 29 when he was first sworn in in 1975.

The congressman also famously lives in a group house with Sens. Chuck Schumer, D-N.Y., and Dick Durbin, D-Ill. -- and, in fact, is the landlord of their Capitol Hill abode

Schumer joked about their arrangement when news broke of Miller's retirement, writing on his Twitter account, "Seeking roommate. 20 terms in the House & unmatched legislative record preferred. Lover of cold cereal a must."

Miller will remain in office another year and will spend it advocating for an extension of unemployment insurance, a higher minimum wage and comprehensive immigration reform.

"What a wonderful experience this has been," he said.