LONDON (AFP) - A British man armed with a kitchen knife tried to storm his way into Buckingham Palace to complain to Queen Elizabeth II about his state welfare payments, a court heard on Tuesday.
David Belmar, 44, had to be tackled to the ground by police after he jumped over a vehicle barrier at the north entrance of the monarch's official London residence on Monday.
The queen, 87, was not there at the time.
Belmar, from north London, admitted trespass and possession of a bladed weapon when he appeared at Westminster Magistrates Court.
The court heard that he has a long history of mental health issues, is taking medication and is a danger to himself.
A judge remanded him in custody and he will be sentenced at a later date.
"In police custody, he said to police 'I wanted to see the queen. I'm not happy about my benefits,'" prosecutor Edward Aydin told the court.
"He is a danger to the public, carrying a knife in central London, and he is a danger to the queen."
Belmar has a fixation with the queen and received a caution in 1989 for lighting fireworks and throwing them into the grounds of Buckingham Palace, the court heard.
Prosecutor Aydin said that when police searched Belmar after wrestling him to the ground on Monday they found a kitchen knife wrapped in a plastic bag in his jacket pocket.
"He's quite a large man. He was rugby tackled to the ground because he wouldn't stop. Police called out on two occasions," the prosecutor said.
A number of children were at the gates at the time of the incident, he said.
"Armed guards had to stop him... He could have been fired upon. Other people could have been hurt. And there was a risk of some form of disorder there outside the palace," prosecutor Aydin said.
The arrest comes after a series of security incidents at Buckingham Palace, the main London residence of the royal family.
In September, a man who scaled a fence to get into the palace was arrested on suspicion of burglary.
A few days afterwards, with security on high alert, jittery royal protection officers challenged the queen's third child Prince Andrew in the gardens of Buckingham Palace.
The most serious breach at the palace came in 1982 when unemployed man Michael Fagan got inside the queen's private chambers while she was in bed.
Fagan, who had climbed over the palace walls and up a drainpipe, spent 10 minutes talking to the sovereign before she was able to raise the alarm.