Queen Elizabeth II’s 99-year-old husband successfully came out of the heart procedure for a pre-existing condition.

Prince Philip had a successful heart operation at a London hospital, Buckingham Palace revealed.

The husband of Queen Elizabeth II has been hospitalized since February 16, and finally underwent heart surgery at a referral hospital for heart patients.

“He successfully underwent an operation for a pre-existing heart problem at Saint Bartholomew Hospital,” the palace said. “Her Royal Highness will remain in the hospital for treatment, rest and recovery for a number of days.”

Also known as the Duke of Edinburgh, Philip retired from public engagements in 2017 and is rarely seen outside of his closest surroundings. Before his hospitalization, he was isolated in Windsor Castle, west of London, with the queen.

In 2011, Philip was rushed to a hospital after suffering chest pain and was treated for a blocked coronary artery by placing a coronary stent.