The Parsons Green tube bomber Ahmed Hassan has been jailed for a minimum of 34 years.
The 18 year old Iraqi asylum seeker partially exploded a device during London’s rush hour on 15 September, injuring 51 people.
He blamed the UK for the death of his father in Iraq.
Before the attack Hassan had been referred to the government Prevent deradicalisation programme after he had said he had been trained by ISIS.
Passing sentence, the judge, Mr Justice Haddon-Cave, said he would be treating the incident as a terrorist offence.
The judge told Hassan: “There is no doubt that you are a very dangerous and devious individual.
“You quietly went about planning and executing this terrorist bomb attack with ruthless determination and almost military efficiency, whilst pretending to be a model asylum-seeker.”
Subscribe to our newsletter and stay updated on the latest news and updates from around the Muslim world!
He added: “I am satisfied you were determined to create as much death and carnage that day as possible.”
Prosecutors at the sentencing hearing said there would have been “serious harm, if not fatality” if the bomb – packed with 2kg of screwdrivers, knives, nuts and bolts – had fully detonated.
Hassan had built the bomb in the home of his foster parents in Sunbury-on-Thames while they were away.
He was arrested the morning after the attack at Dover.
Hassan arrived in the UK in a lorry and he was referred to Surrey County Council’s social services. Hassan’s foster parents were not aware of the concerns that he harboured extremist views.
Following the verdict, Surrey County Council apologised, saying its work “wasn’t as good as it should have been” in helping to stop individuals from being drawn to terrorism.