This year, the challenge will see Royal Marines from around the country running 16.64 miles each day for 100 days, totaling a distance of 1664 miles.
He was also met with cheers as he was handed the Challenge baton.
Britain's Prince Philip is set to retire Wednesday at the age of 96 after 65 years of service.
Wednesday, Prince Philip, 96 met with the Royal Marine Commandos to celebrate his historic retirement after almost 70-years of service.
Prince Philip has been the Captain General of the Royal Marines since 1953, so it was only fitting that he attend a parade to commemorate the end of the 1664 Global Challenge, which is a series of strength and endurance challenges that benefit charity.
Hundreds of invited mourners, drawn from the Duke's military units and the charities of which he was Patron, will be given access to the Chapel Royal to pay their last respects, but it will not be open to the general public.
In Blow to Trump, McCain Joins Democrats to Reject Obamacare Repeal
John McCain of Arizona, Lisa Murkowski of Alaska and Susan Collins of ME voted with Democrats to defeat the measure. He said if McConnell abandons the health care drive, "he should resign from leadership".
Prince Philip attends an event in July.
Prince Philip sits with the Queen as she delivers her speech in the House of Lords, during the State Opening of Parliament at the Palace of Westminster in London June 4, 2014.
In November 2017, Prince Philip and the Queen will mark their 70th wedding anniversary.
"Her Majesty will continue to carry out a full program of official engagements with the support of members of the royal family", the palace said earlier this year. He has eight grandchildren, including Charlotte's father, Prince William.