An 18-year-old man has been charged with carrying out the attempted bombing on a London Tube train.

Ahmed Hassan, of Sunbury-on-Thames, is accused of attempted murder and explosives offences over the terror attack.

The Iraqi refugee spoke only to confirm his name, date of birth and address during a hearing at Westminster Magistrates’ Court.

Mr Hassan appeared in the dock wearing a grey jumper and with long dark hair, and was remanded in custody to appear at the Old Bailey on 13 October.

Mr ​Hassan was arrested in the port of Dover on Saturday, a day after a fireball ripped through a packed carriage at Parsons Green station during the height of morning rush hour.

A spokesperson for the Metropolitan Police said he had been charged with “attempting to murder persons travelling on a District Line train from Wimbledon” and “maliciously causing by triacetone triperoxide (TATP) or other explosive substance an explosion of a nature likely to endanger life”.

Mr Hassan was originally one of two refugees fostered by the same couple in Surrey arrested over the attempted bombing.

The second man, 21-year-old Yahyah Farroukh, was released without charge on Thursday, as was a 48-year-old man detained in Newport.

Terror attack at Parson's Green – in pictures Show all 23 1 /23 Terror attack at Parson's Green – in pictures Terror attack at Parson's Green – in pictures Parsons Green explosion A bucket with flames and wires coming out of it was photographed in the carriage after the explosion – apparently the source of the blast AFP Terror attack at Parson's Green – in pictures Parsons Green explosion An explosion on a packed Tube train has injured a number of people in west London AFP/Getty Terror attack at Parson's Green – in pictures Parsons Green explosion The blast triggered a stampede as commuters panicked AFP/Getty Terror attack at Parson's Green – in pictures Parsons Green explosion Click through for more pictures from the scene Reuters Terror attack at Parson's Green – in pictures Parsons Green explosioN A police officer and a sniffer dog stand in the street near Parsons Green tube station in London, Britain September 15, 2017. REUTERS/Kevin Coombs Reuters Terror attack at Parson's Green – in pictures Parsons Green explosion Handout photo issued by James Treen of emergency services attending an incident at Parsons Green station in west London amid reports of an explosion. PRESS ASSOCIATION Photo. Issue date: Friday September 15, 2017. See PA story TRANSPORT Explosion. Photo credit should read: James Treen/PA Wire NOTE TO EDITORS: This handout photo may only be used in for editorial reporting purposes for the contemporaneous illustration of events, things or the people in the image or facts mentioned in the caption. Reuse of the picture may require further permission from the copyright holder. PA Terror attack at Parson's Green – in pictures Parsons Green explosion Police vehicles line the street near Parsons Green tube station in London, Britain September 15, 2017. REUTERS/Kevin Coombs Reuters Terror attack at Parson's Green – in pictures Parsons Green explosion A police officer stands outside Parsons Green tube station in London, Britain September 15, 2017. REUTERS/Kevin Coombs Reuters Terror attack at Parson's Green – in pictures Parsons Green explosion Armed British police officers stand on duty outside Parsons Green underground tube station in west London on September 15, 2017, following an incident on an underground tube carriage at the station. Police and ambulance services said they were responding to an "incident" at Parsons Green underground station in west London on Friday, following media reports of an explosion. A Metro.co.uk reporter at the scene was quoted by the paper as saying that a white container exploded on the train and passengers had suffered facial burns. / AFP PHOTO / Daniel LEAL-OLIVAS / ===RESTRICTED TO EDITORIAL USE - MANDATORY CREDIT "AFP PHOTO / HO / @RRIGS - NO MARKETING NO ADVERTISING CAMPAIGNS NO ARCHIVES - DISTRIBUTED AS A SERVICE TO CLIENTS FROM FROM ALTERNATIVE SOURCES, THEREFORE AFP IS NOT RESPONSIBLE FOR ANY DIGITAL ALTERATIONS TO THE PICTURE'S EDITORIAL CONTENT, DATE AND LOCATION WHICH CANNOT BE INDEPENDENTLY VERIFIED == / DANIEL LEAL-OLIVAS/AFP/Getty Images AFP/Getty Terror attack at Parson's Green – in pictures Parsons Green explosion Emergency services attend the scene following a blast on an underground train at Parsons Green tube station in West London, Britain September 15, 2017, in this image taken from social media. TWITTER / @ASolopovas/via REUTERS THIS IMAGE HAS BEEN SUPPLIED BY A THIRD PARTY. NO RESALES. NO ARCHIVES. MANDATORY CREDIT Reuters Terror attack at Parson's Green – in pictures Parsons Green explosion Armed British police officers stand on duty outside Parsons Green underground tube station in west London on September 15, 2017, following an incident on an underground tube carriage at the station. Police and ambulance services said they were responding to an "incident" at Parsons Green underground station in west London on Friday, following media reports of an explosion. A Metro.co.uk reporter at the scene was quoted by the paper as saying that a white container exploded on the train and passengers had suffered facial burns. / AFP PHOTO / Daniel LEAL-OLIVAS / ===RESTRICTED TO EDITORIAL USE - MANDATORY CREDIT "AFP PHOTO / HO / @RRIGS - NO MARKETING NO ADVERTISING CAMPAIGNS NO ARCHIVES - DISTRIBUTED AS A SERVICE TO CLIENTS FROM FROM ALTERNATIVE SOURCES, THEREFORE AFP IS NOT RESPONSIBLE FOR ANY DIGITAL ALTERATIONS TO THE PICTURE'S EDITORIAL CONTENT, DATE AND LOCATION WHICH CANNOT BE INDEPENDENTLY VERIFIED == / DANIEL LEAL-OLIVAS/AFP/Getty Images AFP/Getty Terror attack at Parson's Green – in pictures Parsons Green explosion Armed British police officers stand on duty outside Parsons Green underground tube station in west London on September 15, 2017, following an incident on an underground tube carriage at the station. Police and ambulance services said they were responding to an "incident" at Parsons Green underground station in west London on Friday, following media reports of an explosion. A Metro.co.uk reporter at the scene was quoted by the paper as saying that a white container exploded on the train and passengers had suffered facial burns. / AFP PHOTO / Daniel LEAL-OLIVAS / ===RESTRICTED TO EDITORIAL USE - MANDATORY CREDIT "AFP PHOTO / HO / @RRIGS - NO MARKETING NO ADVERTISING CAMPAIGNS NO ARCHIVES - DISTRIBUTED AS A SERVICE TO CLIENTS FROM FROM ALTERNATIVE SOURCES, THEREFORE AFP IS NOT RESPONSIBLE FOR ANY DIGITAL ALTERATIONS TO THE PICTURE'S EDITORIAL CONTENT, DATE AND LOCATION WHICH CANNOT BE INDEPENDENTLY VERIFIED == / DANIEL LEAL-OLIVAS/AFP/Getty Images AFP/Getty Terror attack at Parson's Green – in pictures Parsons Green explosion Armed policemen stand by cordon near Parsons Green tube station in London, Britain September 15, 2017. REUTERS/Hannah McKay Reuters Terror attack at Parson's Green – in pictures Parsons Green explosion A woman reacts outside Parsons Green tube station in London, Britain September 15, 2017. REUTERS/Kevin Coombs Reuters Terror attack at Parson's Green – in pictures LONDON, ENGLAND - SEPTEMBER 15: Emergency services outside of Parsons Green Underground Station on September 15, 2017 in London, England. Several people have been injured after an explosion on a tube train in south-west London. The Police are treating the incident as terrorism. (Photo by Jack Taylor/Getty Images) Getty Terror attack at Parson's Green – in pictures LONDON, ENGLAND - SEPTEMBER 15: A fireman walks past the police cordon at Parsons Green Underground Station on September 15, 2017 in London, England. Several people have been injured after an explosion on a tube train in south-west London. The Police are treating the incident as terrorism. (Photo by Jack Taylor/Getty Images) Getty Terror attack at Parson's Green – in pictures LONDON, ENGLAND - SEPTEMBER 15: A tube train is seen stopped at Parsons Green Underground Station on September 15, 2017 in London, England. Several people have been injured after an explosion on a tube train in south-west London. The Police are treating the incident as terrorism. (Photo by Chris J Ratcliffe/Getty Images) Getty Terror attack at Parson's Green – in pictures LONDON, ENGLAND - SEPTEMBER 15: Police officers stand by a cordon at Parsons Green Underground Station on September 15, 2017 in London, England. Several people have been injured after an explosion on a tube train in south-west London. The Police are treating the incident as terrorism. (Photo by Jack Taylor/Getty Images) Getty Terror attack at Parson's Green – in pictures Police forensics officers works alongside an underground tube train at a platform at Parsons Green underground tube station in west London on September 15, 2017, following an incident on an underground tube carriage at the station. Police and ambulance services said they were responding to an "incident" at Parsons Green underground station in west London on Friday, following media reports of an explosion. "We are aware of an incident at Parsons Green tube station. Officers are in attendance," London's Metropolitan Police said on Twitter. / AFP PHOTO / Daniel LEAL-OLIVAS / (Photo credit should read DANIEL LEAL-OLIVAS/AFP/Getty Images) AFP/Getty Terror attack at Parson's Green – in pictures LONDON, ENGLAND - SEPTEMBER 15: Emergency serivces attend to the scene near Parsons Green Underground Station on September 15, 2017 in London, England. Several people have been injured after an explosion on a tube train in south-west London. The Police are treating the incident as terrorism. (Photo by Jack Taylor/Getty Images) Getty Terror attack at Parson's Green – in pictures Members of the emergency services work outside Parsons Green underground tube station in west London on September 15, 2017, following an incident on an underground tube carriage at the station. British police are treating an incident on a London Underground train on Friday as an act of terrorism, saying "a number of people" had been injured. "Terrorist incident declared at Parsons Green Underground Station," police said in a statement. / AFP PHOTO / Daniel LEAL-OLIVAS (Photo credit should read DANIEL LEAL-OLIVAS/AFP/Getty Images) AFP/Getty Terror attack at Parson's Green – in pictures Armed British police officers walk through the carriage of a London underground tube carriage at Parsons Green underground tube station in west London on September 15, 2017, following an incident on an underground tube carriage at the station. Police and ambulance services said they were responding to an "incident" at Parsons Green underground station in west London on Friday, following media reports of an explosion. A Metro.co.uk reporter at the scene was quoted by the paper as saying that a white container exploded on the train and passengers had suffered facial burns. / AFP PHOTO / Daniel LEAL-OLIVAS (Photo credit should read DANIEL LEAL-OLIVAS/AFP/Getty Images) AFP/Getty Terror attack at Parson's Green – in pictures Members of the emergency services and armed police officers work alongside an underground tube train at a platform at Parsons Green underground tube station in west London on September 15, 2017, following an incident on an underground tube carriage at the station. Police and ambulance services said they were responding to an "incident" at Parsons Green underground station in west London on Friday, following media reports of an explosion. "We are aware of an incident at Parsons Green tube station. Officers are in attendance," London's Metropolitan Police said on Twitter. / AFP PHOTO / Daniel LEAL-OLIVAS (Photo credit should read DANIEL LEAL-OLIVAS/AFP/Getty Images) AFP/Getty

Three other men, aged 17, 25 and 30, remain in custody under section 41 of the Terrorism Act in connection with the investigation, which is being lead by the Met’s Counter Terrorism Command.

Searches are ongoing at Hassan’s home in Surrey and two properties in Newport, Wales, including one used to house asylum seekers.

One of the men arrested has been identified as an Iraqi Kurd known locally as Bilal, with friends saying they “can't believe” he would be involved in the atrocity.

The 25-year-old was arrested in Glebe Street, Newport, at 7pm on Tuesday and police are continuing search the house where he lived in Jeffrey Street.

The painter and decorator used a Facebook account with the profile name Mahdi Rahimi, locals and friends confirmed.

One said the suspect, an Iranian Kurd, arrived in Newport in about 2009.

“I've known him since he arrived here, a mutual friend introduced us on his first day in Newport,” he told the Press Association.

Parsons Green: CCTV shows terror arrest in Newport

“He is a very good guy, I can't believe this. He is Kurdish, he describes terrorists like Isis as stupid.

“He is hard-working and helpful. He has painted a lot of the shops and houses round here.

“He used to walk past every day on his way to the mosque, he would come and shake my hand and say hello.”

The man said Bilal wanted to study at university but had not been able to as he was waiting for permanent residency in the UK, so was instead enrolled at a local college.

Local residents said he would pray at a number of mosques in Newport, including the Iqra community centre, five times a day.

“Everyone knew him around here,” one person said. “He is Kurdish – he wouldn't have anything to do with Isis.

“Kurdish people know what Isis are doing, they are fighting them.”