A man has been Tasered by police outside Buckingham Palace, Scotland Yard has said.
The Queen and Prince Philip were at Sandringham at the time of the incident. A Buckingham Palace spokeswoman said they would not comment as it was a police matter.
A scene was cordoned off with police tape 30 metres from the palace gates on Sunday morning and an ambulance was parked to the side of the building.
Inside the cordoned-off area lay two knives with six-inch blades and a pair of Nike high top trainers. Taser wire also lay on the ground, as well as a hat and a black carrier bag containing paper material with a handkerchief beside it.
Police at the scene were telling members of the public that a man "tried to make an exhibition of himself during the guard change" and that there were "mental health issues".
A spokesman for the Metropolitan Police said: "It was approximately 11.50. A man was seen outside the centre gate in possession of two knives. He was not making threats to members of the public but he was challenged by police. He acted aggressively and a Taser was discharged. He is thought to be in his fifties. He was arrested on suspicion of affray and has been taken to a central London police station."
A video on Youtube shows the man putting a blade to his own neck and shouting before police shoot him with the Taser.
Witness Kevin Burrows, 33, from Surrey, said the man broke through a cordon as the changing of the guard was about to happen. The kitchen porter said: "I thought 'Oh my God, I can't believe it'. There must have been about 15 police officers on foot who surrounded him once he'd been Tasered. The police saw him really quickly and were obviously cautious. He was in his 40s I'd say and I think he had knives in both hands. Everybody was standing back when it happened and people were actually quite calm, I think everyone was surprised. They had to divert the procession away from him. I think he was making his way to the guards."
In the YouTube video, the man takes a series of swipes at an officer as the stun gun is fired. But as it connects he falls to the ground watched by hundreds of tourists who had assembled to watch the changing of the guard and take photographs of the palace. Witnesses said the band played on as the chaos unfolded.
Mr Burrows added: "The man didn't have the chance to get close to anyone as the police were right on him in seconds."