Parachutists spiraled through in the sky and rappel teams raced down the side of a building at the Toronto military ceremony on the front lawn of the Ontario legislature.
A crowd of several hundred people gathered to watch Queen Elizabeth II's husband present the ceremonial flag, known as the regimental colors, to the Third Battalion of the Royal Canadian Regiment.
Regimental colors are considered the most prized possession of every regiment.
"In a world where there is so much senseless violence, the regiment has an enviable reputation for peacekeeping," the 91-year-old Duke of Edinburgh told the dozens of troops gathered in front of him .
Philip inspected rows of soldiers dressed in crisp red uniforms, and watched closely as teams deployed a belt-fed machine gun and a C-16 grenade launcher as part of the ceremonial exercises.
The prince has served as the Royal Canadian Regiment's colonel-in-chief -- an honorary title bestowed on members of the Royal Family -- since 1953.
The festivities began with a dramatic display of the battalion's skills as a pair of soldiers jumped from a plane above the legislature and swooped downward into a nearby field, before a rappel squad emerged on the roof of a nearby building and sped down its side.
The flag awarding was followed by a military parade and ceremony marking the 200th anniversary of the Battle of York in the War of 1812.
A day earlier, Philip had been on the receiving end of a pair of special honors.
Gov. Gen. David Johnston, the queen's representative in Canada, awarded him with the Order of Canada and the Order of Military Merit on Friday.
Philip is scheduled to fly back to England on Saturday night.
More Nation & World Headlines
Analysis: Can Donald Trump be stopped? Refugee surge to Europe raises concern about militants Hungary declares emergency, seals border, detains migrants 4:17 p.m. 3 dead, 4 missing in Zion National Park after flash flooding 4:19 p.m. N. Korea warns it has restarted all nuclear bomb fuel plants Aspirin for heart health limited 6:22 p.m. Searchers look for flood victims in polygamous Utah town 4:16 p.m. Value of anti-IS airstrikes in Syria debated as France joins
Our new comment system is not supported in IE 7. Please upgrade your browser here.