Thirteen improvised explosive devices were reported to have been used by the Islamic militant group that was responsible for the bombing, all but three of which detonated. This group seems to have had very tenuous connection with al-Qaeda but with the aim of acting on its behalf. Shortly after the bombings, the group was completely dismantled by the Spanish police and the core members died in an apparent suicide explosion when they were surrounded in the nearby town of Leganés.