His day in court:
Passing sentence, the judge, Mr Justice Haddon-Cave, said he would be treating the incident as a terrorist offence.In a January 2016 immigration interview, Hassan told officials he had been in contact with the Islamic State group and had been "trained to kill". The trial also heard he blamed the UK for the death of his father in Iraq.
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. I am satisfied you were determined to create as much death and carnage that day as possible."
Link:http://www.bbc.co.uk/news/uk-43519540

The day before there was a report that the police investigation had missed his motivation; clearly the judge did not need that evidence:
Our investigations show that police found evidence of Hassan’s affiliation with the terrorist group, but misinterpreted the material and sent flawed information to prosecutors.
Link:https://www.independent.co.uk/news/u...-a8267601.html