The Duke of Edinburgh has left the London Clinic in "good spirits", 11 days after he was admitted for exploratory abdominal surgery.
Philip looked relaxed as he walked from the London Clinic clutching a large book. He said goodbye to senior staff from the hospital before walking towards a waiting vehicle.
A Buckingham Palace spokesman said: "The Duke is in good condition and good spirits. He'll take a period of convalescence, of approximately two months.
"The Duke has expressed his thanks and appreciation to medical staff at the London Clinic and the many members of the public who have sent good wishes."
Prince Philip was in hospital for exploratory examinations
Over the previous few days he received numerous visits from his family, including the Queen on Saturday. After the Prince of Wales saw his father on Friday evening, he said the 92-year-old was ''much better''.
The Duke was first admitted on June 6 and arrived at the London Clinic after attending a Buckingham Palace garden party.
The pre-arranged operation was carried out the next day and followed abdominal investigations.
Details of the original symptoms behind his admission have not been released, but it is thought the procedure did not involve his heart or bladder - organs with which the Duke has experienced problems before.
Philip spent his 92nd birthday - last Monday - in hospital but on that day received his first visit from the Queen, who left the hospital smiling.