By Michael McHugh, Press Association
The Duke of Edinburgh was in jovial form as he visited Northern Ireland officially for perhaps the last time.
Prince Philip met Duke of Edinburgh gold award achievers during a ceremony at the ornate Hillsborough Castle in Co Down.
He is retiring from royal duties this autumn, Buckingham Palace has said.
The prince joked with young people from across the country who had gathered in the opulent Throne Room about their experiences earning the recognition.
He asked: "Did you all walk? You all got lost did you?"
He met a proud parent who was clutching what appeared to be an oxygen bottle.
The Prince quipped: "Are you safe with that thing?"
The Duke strolled along a line of excited and slightly awestruck recipients.
He said: "They all used to turn up in uniform."
One teenager resplendent in the blue shirt and tie of the Boy's Brigade with his badges on display was the exception.
Jonathan Boyd, 18, from Antrim, said: "I said I was the only one from the Boy's Brigade in uniform.
"It was a lovely day, the Duke himself was very witty in his walk through."
Certificates were presented by Northern Irish singer Peter Corry.
The young people received the recognition after volunteering in their community, learning a skill, getting fit, going on an expedition and taking part in a week-long residential.
Six leaders from across Northern Ireland took part in a special reception for their work with young people.
In Northern Ireland 8,500 young people start Bronze, Silver or Gold programmes each year and around 25,000 are actively working on their programmes at any one time.
The Duke has presented over 1,500 gold awards at 21 ceremonies in Northern Ireland. Most have taken place at Hillsborough Castle.
Director of the award in Northern Ireland Kate Thompson said: "Young people doing their DofE are encouraged to push themselves outside of their comfort zones and the skills that they develop can be life-changing."