London: Nine years before Usman Khan killed two people in a stabbing spree on London Bridge, he was overheard by British security services discussing how to use an al Qaeda manual he had memorised to build a pipe bomb.
It was a snippet of conversation, along with other intelligence about a plot to bomb the London Stock Exchange that prompted British police to arrest Khan - then 19 years old - and a group of older men on December 20, 2010.
Sentenced to a minimum of eight years in prison in 2012 with a requirement that the parole board assess his danger to the public before release, he was set free in December 2018 - without a parole board assessment.
On Friday, he strapped on a fake suicide vest, armed himself with large kitchen knives and went on the rampage at a conference on prisoner rehabilitation beside London Bridge.
Confronted by bystanders, including a Polish man brandishing a narwhal tusk he had grabbed from the wall of Fishmongers' Hall, Khan was wrestled to the ground. Three armed police officers surrounded him. They fired twice. He was dead.
"This individual was known to authorities," said Britain's top counter terrorism officer, Assistant Police Commissioner Neil Basu. "A key line of enquiry now is to establish how he came to carry out this attack."
It has yet to be confirmed why Khan, now 28, began his rampage on London Bridge.
Islamic State (IS) said the attack was carried out by one of its fighters and was in response to its calls to target countries that have been part of a coalition fighting the terror group, according to its Amaq news agency. The group did not provide any evidence.
London Bridge was also the scene of another deadly attack before the 2017 election, but British authorities have cast doubt on those claims of responsibility made by IS.
Then, three terrorists drove a van into pedestrians before stabbing people in the surrounding area, killing eight and injuring at least 48.
Khan, a British man whose family is from Pakistan-occupied Kashmir, was radicalised by internet propaganda spread by Al Qaeda in the Arabian Peninsula, and in particular by terrorist Anwar al-Awlaki.
Awlaki, identified by US intelligence as "chief of external operations" for al Qaeda's Yemeni branch and a Web-savvy publicist for the Islamist cause, was killed in a CIA drone strike in 2011.
Khan was part of a group of terrorists from the English city of Stoke which forged close links with terrorists from London and the Welsh capital Cardiff.
The London and Welsh parts of the conspiracy had ambitions to place a bomb in a toilet at the London Stock Exchange.
While Khan knew and supported the bomb plans, and had discussed bombing local pubs, he and his Stoke group had hatched a potentially more sinister plan: a camp beside a mosque in Kashmir to train terrorists.
"The Stoke group was, and was considered to be, pre-eminent," British judge Alan Wilkie said when he sentenced Khan in 2012. "They regarded themselves as more serious jihadis than the others."
Khan had been intending to travel to the camp to perfect his skills, including firearms training and to carry out attacks in Kashmir.
"It was envisaged by them all that ultimately they, and the other recruits, may return to the UK as trained and experienced terrorists available to perform terrorist attacks in this country," Wilkie said.
DANGER TO THE PUBLIC?
When sentencing Khan in 2012, Wilkie said that he was so dangerous that he was imposing a so-called imprisonment for public protection (IPP) indeterminate sentence of eight years.
"The long, monitored, discussions of Usman Khan about the madrassa (training camp) and his attitudes towards it and terrorism are highly eloquent of the seriousness of their purpose," Wilkie said.
In effect, it meant he would remain incarcerated as long as he was considered to be a danger to the public and that the parole board should assess whether he should be released.
But in 2011, then-Conservative Prime Minister David Cameron announced a review of the IPP sentencing. The IPP was abolished in 2012.
After Khan appealed his sentence, appeal court judges in 2013 quashed the indeterminate period of incarceration and he was given a determinate sentence of 16 years - meaning he could be released after serving half of his term.
Court of Appeal judges said at the time that the Parole Board should consider whether those convicted were safe enough to be released. But the Parole Board said on Saturday that it had not been involved in deciding Khan's release.
"The Parole Board can confirm it had no involvement with the release of the individual identified as the attacker," the board said, adding that Khan "appears to have been released automatically on licence (as required by law), without ever being referred to the Board."
Prime Minister Boris Johnson, seeking re-election on December 12, said it was important to enforce terrorism-related sentences.
"It does not make sense for us, as a society, to be putting people convicted of terrorist offences, serious violent offences, out on early release," he said on Saturday after visiting the scene of the attack.