After his month-long stay at the hospital due to heart problems, a royal source revealed that Prince Philip still got his last wish of dying at home.

Before his death, the source told the New York Post that Prince Philip, also known as the Duke of Edinburgh, wished that he dies in the comfort of his own home.

The royal source said: "It was the Duke's fervent wish to die peacefully at home." The source noted that they knew that when Prince Philip was taken home, "it was to die on his own terms, not in a hospital bed, but in his own bed."

According to the source, Prince Philip, at the age of 99, died "peacefully" at his residence, Windsor Castle, on Friday. The source added that Prince Philip did not want any fuss, and he did things his way until his last breath.

The last public appearance of Prince Philip was on March 16, when he was discharged from King Edward VII's Hospital in London, where he was treated for an infection and a successful procedure for a pre-existing heart condition.

In his later years, Prince Philip spent the majority of his time at the secluded, five-bedroom Wood Farm in Wolferton, Norfolk, which is on the Sandringham estate of the Queen. After a stint at Balmoral Castle in Scotland, Prince Philip and his wife, Queen Elizabeth II, took a retreat for two weeks to Wood Farm last summer. 

The Wood Farm became the home for Prince Philip for close to three years, but the pandemic prompted aides to move him to Windsor Castle last March.

Prince Philip, the Queen, and their children stayed at the Wood Farm, located on a secluded portion of Sandringham that looks out over the sea when they want to get out of the public spotlight over the last 50 years.

Once the Royal family is present at the Wood Farm, the aides do not wear their usual royal uniforms, and Prince Philip did not stand on ceremony. The place is also a kitchen for the Queen, wherein she can cook and do the dishes.

RELATED ARTICLE: Prince Philip's Death: Biden, Other World Leaders Mourn

Prince Harry and Meghan Markle

After Prince Philip's death, Buckingham Palace announced that the Duke of Edinburgh's funeral would be next Saturday, and it is a scaled-back service because of the ongoing coronavirus pandemic. 

It also prompted Prince Harry to immediately prepare for his return to the United Kingdom to be with Queen Elizabeth II and other royal family members, Mercury News reported.

However, it is not clear whether Prince Harry's travel could be interrupted by the imposed COVID-19 travel restrictions. It is also not confirmed whether he will be accompanied by his pregnant wife Meghan Markle and what reception they will be receiving.

Questions regarding their reception rose because of their recent accusations towards the royal family during their interview with Oprah. But a source close to the Duke and Duchess of Sussex shared that Prince Harry will definitely do everything to get back to the U.K. to be with his family, especially his grandmother.

Meanwhile, Prince William and Kate Middleton have already changed their profile photos on social media after Prince Philip's death, People reported.

READ MORE: Prince Harry, Meghan Markle Announce First Netflix Series

WATCH: Prince Philip dies at age 99 FROM- CNBC Television