The Duke of Edinburgh, as he was officially known, had been by his wife's side throughout her 69-year reign, the longest in British history.
Philip spent four weeks in hospital earlier this year for treatment for an infection to have a heart procedure, but returned to Windsor in early March.
After completing more than 22,000 solo appearances, Philip retired from public life in August 2017 although he occasionally appeared at official engagements afterward.