Prince Philip, almost 100-year-old husband of Queen Elizabeth II, left hospital in London on Tuesday.

He stayed there for a month, after being admitted for an infection and then a heart problem.

The prince returned to Windsor Castle. 

A month after his admission for an infection and then a heart problem, Prince Philip, almost 100-year-old husband of Queen Elizabeth II, left the hospital in London on Tuesday, in the midst of a storm for the British monarchy.

The prince returned to Windsor Castle, west London, where he was in confinement with his wife Elizabeth, 94, Buckingham Palace said in a statement.

His hospitalization came at a time of crisis for the royal family, with the broadcast on March 7 in the United States of an explosive interview with Prince Harry, the queen's grandson, and his wife Meghan Markle, near a year after their effective withdrawal from the monarchy and their exile in California.

The couple denounced the racism of some members of the royal family, while making it clear that it was neither Prince Philip nor the Queen, and Meghan confessed to having thoughts of suicide. 

It will celebrate its 100 years in June

Prince Philip, who will celebrate his hundredth birthday in June, was admitted on February 16 to a private hospital in the British capital, King Edward VII.

He had returned there to continue his convalescence after having undergone "successfully", in early March, an intervention for a pre-existing heart problem in another London establishment, St Bartholomew's Hospital, with the largest specialized cardiovascular service in Europe. 

Renowned for his strong character but also for his blunders, the Duke of Edinburgh was hospitalized in February as a "precaution" after feeling ill.

Buckingham Palace had specified a few days later that this hospitalization was due to an infection.

If his transfer for his heart problems had raised fears of a deterioration in his state of health, his relatives had wanted to be reassuring.