The Commandant of the U.S. Marine Corps, Gen. Eric Smith, underwent open-heart surgery on Monday to repair a valve in his heart, the Corps said. 

Smith, who was confirmed as the new commandant on Sept. 21, was initially hospitalized after suffering cardiac arrest near his home at Marine Barracks Washington on Oct. 29. 

"He is in good condition and continues to recover at the hospital among family members and his doctors," the Corps said in a statement. "Following his rehabilitation, Gen. Smith will return to full duty status as Commandant."

Smith's surgery comes after news that Defense Secretary Lloyd Austin was admitted to Walter Reed National Military Medical Center last week for complications following a recent elective medical procedure, which was not shared with the public for several days. Austin has since resumed his full duties.

TOP MARINE COMMANDER HOSPITALIZED AFTER SUFFERING HEART ATTACK

Gen. Smith in combat uniform

The Commandant of the U.S. Marine Corps Gen. Eric Smith underwent open-heart surgery on Monday to repair a bicuspid aortic valve in his heart. (U.S. Marine Corps photo by Sgt. Shannon Doherty)

The surgery successfully repaired a bicuspid aortic valve in his heart, which was the cause of his cardiac arrest. 

Assistant commandant, Gen. Christopher Mahoney, has been serving as the acting head of the Marine Corps while Smith has been in the hospital.

U.S. Marine Corps

The Corps said Smith underwent successful surgery to repair a bicuspid aortic valve in his heart, which was the cause of his cardiac arrest. (Photo by Beata Zawrzel/NurPhoto via Getty Images)

Smith will return to his full duties as commandant following rehabilitation, a statement from the Marines said.

KAT CAMMACK ALARMED OVER LLOYD AUSTIN'S SECRETIVE HOSPITAL STAY: ‘NOT FIT’ FOR OFFICE

The Defense Department said Austin's hospitalization was not initially disclosed because of medical and personal privacy issues. Deputy Defense Secretary Kathleen Hicks has filled in while on a previously scheduled leave.

Several lawmakers, including Democrats and Republicans, have requested additional information on the medical operation and why various offices were not immediately notified about his absence. 

Sec. Lloyd Austin

Defense Secretary Lloyd Austin remains hospitalized a week after suffering server pain following an elective procedure, the Pentagon said Monday. (Ian Waldie/Bloomberg via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

Republican presidential candidates have also weighed in on the controversy, with Nikki Haley suggesting President Biden should be held accountable.

Fox News' Sarah Rumpf-Whitten and Liz Friden contributed to this report.