Prince Philip is feeling fine.

After a five-night stay in the Aberdeen Royal Infirmary in Scotland, the 91-year-old royal has been sent home.

The news was confirmed on Monday, when the British Monarchy's official Twitter account posted a pic of the smiling royal on his way back to Buckingham Palace. "The Duke of Edinburgh leaving Aberdeen Royal Infirmary after spending five nights being treated for a recurrence of a bladder infection," the caption reads.

PHOTOS: Look back at Will and Kate's big day

His release is a breath of relief for Prince Philip's family, which includes grandsons Prince William, 30, and Prince Harry, 27, and his wife, Queen Elizabeth II, 86. Especially considering that the stay marks the third time he has been admitted to the hospital in the past nine months.

PHOTOS: The year in royals!

In December 2011, he was airlifted to the hospital after experiencing chest pains. Once admitted, doctors performed emergency surgery to insert a coronary stent and relieve a blocked artery. He went home four days later.

PHOTOS: The Queen's Diamond Jubilee

Just this past June, the royal was rushed to a London hospital after developing a bladder infection. The illness caused him to miss a dew days of Queen Elizabeth's Diamond Jubilee.

This article originally appeared on Prince Philip Released After Five-Night Hospital Stay