A Sheffield man found with a knife at Buckingham Palace has had the case against him dropped.
Hang Zhang, aged 25, who is a chinese national living in Hawley Street in the city centre, was arrested for possession of an offensive weapon in a public place after being found at the main gate of the palace on August 12.
He was later sectioned under the Mental Health Act.
During a hearing at Westminster Magistrates' Court on Thursday, prosecutors confirmed the charges against him had been dropped.
Chief Magistrate Emma Arbuthnot asked if it was due to his 'mental health problems'.
Prosecutor Emily Maunders replied: "Yes, I believe that is the case."
Mr Zhang had previously denied the charges against him during a hearing in October.