LONDON — An 18-year-old man was charged with attempted murder on Friday related to the bombing last week on the London subway system that prompted a stampede and left more than 30 people wounded, the British police said.

The suspect, Ahmed Hassan, is also accused of using T.A.T.P., a banned explosive, in the attack on Sept. 15 while the train was at the Parsons Green station, in Southwest London.

Five other male suspects had been arrested since the attack; two remained in custody without charge, while three others were released, including a Syrian refugee who was freed on Thursday and a 17-year-old freed on Friday.

No one was killed when the improvised bomb exploded on a subway train full of school children and professionals on their way to work, but the attack revived memories of the explosions on the city’s transportation network in 2005 that killed more than 50 people.