Rep. Elijah Cummings, D-Md. underwent an operation to treat a knee infection at a Baltimore hospital, his office said Friday, hours before his wife suspended her campaign for Maryland governor.

Cummings’ office said doctors at Johns Hopkins Hospital drained the infection in a minor procedure. He was admitted to the hospital Dec. 29.

“He is resting comfortably and expects a full recovery,” his office said in a news release.

Cummings, 66, is the leading Democrat on the House Oversight and Government Reform Committee. He was briefly hospitalized this past May to undergo a heart procedure, in which doctors replaced a transarterial aortic valve in order to treat aortic stenosis. He returned to Capitol Hill in September, after working in his district office in Baltimore.

Cummings’ wife, Maya Rockeymoore Cummings, said in a statement she was withdrawing from the June 26 Democratic primary due to “personal considerations.”

Maya Cummings’ withdrawal leaves seven Democratic candidates vying to unseat Republican Gov. Larry Hogan in the November election.

The Associated Press contributed to this report.