ES News email The latest headlines in your inbox twice a day Monday - Friday plus breaking news updates Enter your email address Continue Please enter an email address Email address is invalid Fill out this field Email address is invalid You already have an account. Please log in Register with your social account or click here to log in I would like to receive lunchtime headlines Monday - Friday plus breaking news alerts, by email Update newsletter preferences

The Daily Telegraph has accidentally published an article stating that Prince Philip has died.

Under the headline “HOLD HOLD HOLD Prince Philip, Duke of Edinburgh, dies ages XX” the newspaper posted the pre-written piece about Philip, who is 96 years old, on Wednesday morning.

The piece gave details of the Duke’s funeral, as well as discussing his health and life.

It read: “The Duke of Edinburgh, the longest-serving consort to a monarch in British history, has died at the age of XX, Buckingham Palace has announced.

“Prince Philip, whom the Queen described as her "strength and stay" during her record-breaking reign, passed away XXXXXXX

“He will be given a royal ceremonial funeral in line with his wishes, which is expected to take place in seven days' time.”

The article coincides with Philip’s last public engagement before he retires, which takes place on Wednesday.

He will appear at a Royal Marines' charity parade outside the Queen's London residence, before he officially steps back from his royal duties.

The parade will mark the end of the 1664 Global Challenge, which raises money for The Royal Marines Charity.

Earlier this year it was announced Philip would retire after the summer.

He has completed 22,219 solo engagements since 1952.

A Telegraph spokesman said: "We sincerely apologise for the mistake that was made this morning, which was of course rectified immediately.

"We will be reviewing our publishing processes as a matter of urgency."

Buckingham Palace declined to comment.