A man was arrested for possessing an axe just yards from where the Queen was due to begin a walkabout.
The man was led away from the scene by police officers
Uniformed officers and royal protection officers swooped on the 34-year-old man about 30 minutes before the Royal Party arrived in Huddersfield.
A plastic bag with a long brown axe handle protruding from it was confiscated from the man, who was led away in handcuffs.
Police confirmed he had been arrested for possession of an offensive weapon.
The incident happened during a visit by the Queen and the Duke of Edinburgh to West Yorkshire.
The man was standing just yards from where the Royal party were due to begin a walkabout in Huddersfield.
It is understood officers had been observing the man for some time. He was taken to Huddersfield police station for questioning.
Earlier, during a visit to Bradford, the Queen was presented with a posy by the five-year-old daughter of murdered policewoman Sharon Beshenivsky.
Lydia Beshenivsky was accompanied by her father and brother, both called Paul, when she met Her Majesty in Bradford's Centenary Square.
Pc Beshenivsky was shot dead on Lydia's fourth birthday, during a robbery at a Bradford travel agents in 2005.