Two men in their 20s who were visiting Britain were spoken to at a hotel nearby, police said, and were warned about their actions but not arrested. One of the men voluntarily gave up a noxious spray.

British media identified one of the men as Tyler Dooley, 25, the son of Meghan's half-brother Thomas Markle Jr. British police declined to confirm the men's identities.

According to The Sun, Doodley thought that because US president Donald Trump said that London was a war zone, he felt the need to arm himself.

“I just brought it because Donald Trump said London was like a war zone. I had it for protection.”

Meghan, who now has the title Duchess of Sussex, had not invited Dooley to the wedding.

"In this case careful consideration was taken by the officers, the items were handed over voluntarily and there was no ongoing risk, so the investigation was closed with warnings given," Sally Benatar of the local police force said in a statement.