The Duke of Edinburgh has been discharged from hospital following a successful hip replacement operation.
Prince Philip, 96, waved as he was driven past the front entrance to King Edward VII's Hospital in London, having left through a different exit.
He was admitted to hospital on 3 April and underwent the planned procedure the following day.
The duke, who will continue his recovery in Windsor, thanked the public for their "good wishes".
In a statement, Buckingham Palace said: "His Royal Highness The Duke of Edinburgh left King Edward VII's Hospital at midday today, following a hip replacement operation last week.
"His Royal Highness would like to convey his appreciation for the messages of good wishes he has received."