Prince Philip has died aged 99.
The Duke of Edinburgh was in the Royal Navy until 1951, including service during the Second World War.
Even after his active military career ended, he has maintained a close relationship with the Armed Forces, with a number of honorary appointments.
He was appointed Admiral of the Sea Cadet Corps, Colonel-in-Chief of the Army Cadet Force and Air Commodore-in-Chief of the Air Training Corps in 1952.
The following year, Prince Philip was promoted to Admiral of the Fleet and appointed Field Marshal and Marshal of the Royal Air Force.
On his 90th birthday in 2011, he was appointed Lord High Admiral by the Queen.
In 2017, he was succeeded as Captain General Royal Marines, a position he had held since 1953, by his grandson, Prince Harry.
The Duke was also Colonel-in-Chief, or Colonel, of a number of British and overseas regiments.
Is Ukraine using an aircraft-imitating missile to confuse Russian defences?
HIV stats in Armed Forces revealed a year on from serving ban lifted
Over 1,500 soldiers rehearse for role in historic Trooping the Colour