A British man has been found guilty of planning a terror attack in Westminster and making bombs for the Taliban.
Khalid Ali, 28, was arrested in April 2017 in Parliament Street, where he was caught carrying three knives.
Ali had recently returned from Afghanistan, where he made and detonated bombs, the Old Bailey heard.
A jury convicted Ali of preparing an act of terrorism in the UK, and two counts of possessing an explosive substance with intent.
Ali, a plumber from Edmonton in north London, did not react as the verdicts were read out. He will be sentenced on 20 July.
Deputy Assistant Commissioner Dean Haydon described him as an “incredibly dangerous individual”.
He said his conviction demonstrates “how close the UK counter-terrorism network works with partners and allies to bring to justice those seeking to harm others across the world”.
Prosecutor Brian Altman QC had told the jury that Ali planned a “deadly terror attack at the very heart of this country’s democracy by killing a police officer, a member of the military or even a Parliamentarian”.
He added that only the intervention of the police had prevented “another murderous terror attack in Westminster”.
Ali travelled to Afghanistan in 2011. He did not return to the UK until November 2016, when he was stopped at Heathrow airport, interviewed by police and his fingerprints and DNA samples were taken.
During questioning after his arrest, he admitted fighting British soldiers in Afghanistan, but refused to say whether he had killed any.
In a police interview shown during the trial, Ali also said he had detonated more than 300 bombs.
The court heard how his fingerprints were found on component parts of explosive devices that were handed in to US forces in Afghanistan in 2012.
Police said Ali had been in a “Taliban training camp affiliated to al-Qaeda where, for several years, he helped terrorists make hundreds of bombs capable of mass murder”.