Chilling footage shows the moment that an "Isis inspired" student from Devon allegedly left a ball-bearing bomb on a Tube train in London.
Damon Smith, 20, allegedly packed a rucksack with explosives and ball-bearing shrapnel attached to a £2 ($3.70) Tesco clock timed to go off on the Jubilee Line.
Smith allegedly left the bomb on a carriage before changing his clothes and going to a university lecture on October 20 last year, the Old Bailey heard.
CCTV shows him taking the rucksack off his shoulder and possibly putting the batteries in the device, then getting on the Tube on a Jubilee line platform, according to the Daily Mail.
Four minutes later he is seen getting off the train at London Bridge without the bag, which contains the homemade bomb and is propped against a seat by the door.
The weapons-obsessed teenager allegedly photographed himself in front of a TV showing Isis' Paris massacre mastermind Abdelhamid Abaaoud, the court heard.
Smith had previously printed an al Qaeda article entitled "Make a bomb in the kitchen of your Mom" and made notes in green ink before shredding the sheets of paper, jurors were told.
Had the device worked, it would have exploded just as people were being ordered off the Jubilee Line platform at North Greenwich.
The court heard Smith had a keen interest in Islam, guns, explosives and gambling, and collected pictures of extremists, including the alleged mastermind of the 2015 Paris terror attacks.
After he was arrested, the autistic student admitted making the device but claimed he only meant it to spew harmless smoke as a prank.
Prosecutor Jonathan Rees QC told how Smith grew up in Newton Abbot in Devon and moved to London with his mother in June last year before starting a London Metropolitan University computer course.
An only child, Smith was diagnosed with Asperger's syndrome, an autistic condition that can affect the way he interacts with people and result in a lack of empathy.
He also allegedly searched the internet for an Islamic State magazine featuring an article about the bomb said to have brought down a Russian airliner in October 2015.
A shopping list for "pressure cooker bomb materials" was also allegedly found on an iPad ending in a note to "keep this a secret between me and Allah #InspireTheBelievers".
On October 20 last year, Smith boarded a train from Surrey Quays to Canada Water before getting on the westbound Jubilee Line, then going back on at Southwark.
At 10.49am, the defendant, who had a freedom travel pass, got off at London Bridge leaving behind his rucksack containing the bomb set to explode minutes later at 11.02am.
At least 10 passengers were in the carriage at the time and some spotted the bag and reported it when they got to Canary Wharf.
The driver took the bag thinking it was lost property and carried on towards North Greenwich, Rees said.
It was while he was en route to the next stop that he noticed wire poking out of a clock.
Had the bomb gone off, it would have exploded just as passengers were evacuated from the area, the prosecutor said.
Meanwhile, Smith went to his university campus at Holloway and searched for articles about the incident when he got home later.
Jurors were told of Smith's interest in poker, YouTube, Islam, and in guns, explosives and other weapons.
Smith allegedly told police he was brought up Christian, but Islam was "more true", although he denied being an extremist.
A search of Smith's home in Rotherhithe, South London, uncovered a blank-firing self-loading pistol, a BB gun — bought legally — as well as a knuckleduster and a knife, which he showed off in an online video.
Pictures were also recovered of Smith with guns, including one on a laptop labelled "2016 an Islamic State fighter".
Smith watched YouTube videos on explosions and allegedly posted a picture of himself on Facebook in a Guy Fawkes mask holding handcuffs and a knuckleduster, jurors were told.
He also posed next to an image of the Brussels-born Islamic terrorist alleged to have masterminded the attacks in Paris in November 2015, the court heard.
Under "other useful stuff" on the iPad mini, Smith had written: "Face paint to blend into the LGBT crowd."
The reference to lesbian, gay, bisexual, and transgender people "rather suggests that this device was not to be designed for a prank", Rees said.
When he was arrested in Holloway Rd at 12.25pm the next day, police found a copy of the Koran in Smith's sports bag, along with notes about his university course.
At his home were packs of "monster sparklers", matches and ball-bearings similar to those in the device, along with wire, glue, circuit boards and craft knives.
There was also a receipt from Tesco dated September 23 for a £2 wall clock, another copy of the Koran, and leaflets and books about Islam.
At his old address in Newton Abbot, police found another device in the loft, which was wrapped in a plastic bag from the UK Islamic Mission but was not viable.
Smith, now 20, denies possession of an explosive substance with intent, contrary to the Explosive Substances Act 1883 but has admitted the lesser offence of perpetrating a bomb hoax.