Prince Philip chats with veterans during the Field of Remembrance at Westminster Abbey, November 2015 (Picture: Crown Copyright).Prince Philip takes the controls in the cockpit of an Apache Attack helicopter, October 2014 (Picture: Crown Copyright).Prince Philip salutes during a remembrance service in London, November 2015 (Picture: Crown Copyright).Prince Philip unveils a plaque in his honour at MPD Lyneham, March 2016.The Duke of Edinburgh presents the Grenadier Guards with a football trophy, March 2017.Prince Philip lays a wreath during the Field of Remembrance at Westminster Abbey, November 2015 (Picture: Crown Copyright).Prince Philip watches the Massed Bands and Bugles of the Rifles at the Sound Retreat on Horse Guards Parade, June 2016.A smile from the Duke of Edinburgh, as events took place in London to mark the 70th anniversary of VJ Day, August 2015.Prince Philip chats with soldiers from 1 Close Support Battalion, Royal Electrical and Mechanical Engineers at Munster Barracks, Catterick, after returning from Operation Herrick in Afghanistan, May 2013.The then-Captain General of the Royal Marines, Prince Philip takes the salute from the Commando Logistics Regiment during a home-coming parade in Barnstaple, Devon, November 2011.The Duke of Edinburgh shares a joke with the Commanding Officer and soldiers of the Queen's Royal Hussars Battle Group at Basra Air Station in Iraq, October 2006.Prince Philip during his final public engagement in August 2017.Prince Philip during his time as a Royal Navy officer (Picture: PA).Prince Philip in 1945 sporting a beard (Picture: TopFoto/PA Images).The Duke of Edinburgh speaking to personnel during a Rifles handover ceremony in 2020 (Picture: PA).The Duke of Edinburgh speaking to personnel during a Rifles handover ceremony in 2020 (Picture: PA).The Duke of Edinburgh being saluted on board HMS Magpie in 1952 (Picture: Royal Navy).Prince Philip at Coldstream Guards Sergeants Mess in 1953 (Picture: MOD).Prince Philip in uniform at 2011 Trooping the Colour (Picture: MOD).Prince Philip in 2017 during his final public engagement (Picture: MOD).The Duke met Royal Marines cadets during his final public engagement in 2017 (Picture: MOD).The then-Lieutenant Philip Mountbatten, in Royal Navy uniform in 1947 (Picture: Everett Collection/Alamy).Prince Philip during Trooping the Colour in 2012 (Picture: Newsphoto/Alamy).The Duke of Edinburgh in uniform (Picture: World History Archive/Alamy).The Queen and Prince Philip during the 1963 Trooping the Colour (Picture: Michele and Tom Grimm/Alamy).
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.