LONDON (AP) — Britain’s Prince Philip left a London hospital on Tuesday after being treated for an infection and undergoing a heart procedure.

Philip, 99, the husband of Queen Elizabeth II, had been hospitalized since being admitted to the private King Edward VII’s Hospital in London on Feb. 16, where he was treated for an infection.

He was later transferred to a specialized cardiac care hospital, St. Bartholomew’s, for a short stay, before returning to King Edward VII’s.