The funeral congregation was socially distanced, with the Queen seated alone, because of Covid rules.
Pupils from Gordonstoun school lay a wreath off the Moray coast where Prince Philip learned to sail.
The Duke of Edinburgh is remembered in a gun salute, the beating of a Lambeg drum and by young people.
Tributes have been paid across the sporting world on the day of the Duke of Edinburgh's funeral.
Cillian Murphy, JK Rowling and Sir Sam Mendes lead tributes to the "fearless and magnificent" actress.