Scotland Yard said Jaswant Singh Chail, from Southampton, has been charged with an offence under section 2 of the Treason Act 1842, which is “discharging or aiming firearms, or throwing or using any offensive matter or weapon, with intent to injure or alarm Her Majesty”.
He has also been charged with threats to kill and possession of an offensive weapon.
The 20-year-old is in custody and will appear at Westminster Magistrates’ Court on August 17.
Nick Price, head of the CPS Special Crime and Counter Terrorism Division, said: “Mr Chail, 20, has been charged with making threats to kill, possession of an offensive weapon and an offence under the 1842 Treason Act.
“The CPS reminds all concerned that criminal proceedings are active and that he has the right to a fair trial.”