MADRID — An extremist cell in northeastern Spain was preparing bombs for an imam who planned to blow himself up at a Barcelona monument, a key suspect in the attacks that killed 15 people in northeastern Spain told a judge Tuesday, according to a judicial official.
The suspect, Mohamed Houli Chemlal, 21, was one of four men brought before Spain’s National Court in Madrid on Tuesday to testify about the Islamic extremist cell that attacked pedestrians in Barcelona and the nearby seaside town of Cambrils last week.
National Court Judge Fernando Andreu is scheduled to rule later Tuesday on the prosecutor’s request to send the four to jail without bail for preliminary accusations of being part of a terrorist organization, homicide, causing havoc and dealing with explosives.
A Spanish judicial official says Houli Chemlal and suspect Driss Oukabir, 28, identified the imam, Abdelbaki Es Satty, as the ideologist of the 12-man cell.
Oukabir and the other two surviving suspects who testified Tuesday, Mohamed Aalla and Sahal El Karib, denied being part of the cell, said the court official, who was not authorized to speak about ongoing cases and requested anonymity.
The cell’s other eight members have either been killed by police — five were shot dead Friday and one Monday after a manhunt — or accidently blew themselves up, like Es Satty and another man, while preparing explosives in a house in the coastal town of Alcanar, south of Barcelona.
Es Satty preached in a mosque in the northeastern town of Ripoll, home to most of the 12 pointed by police as being possible members of the cell. Police have identified his remains amid the rubble of the Aug. 16 explosion that destroyed the house in Alcanar.
Police found in the house over 100 tanks of butane gas and materials to make TATP, an explosive frequently used in attacks by Islamic State militants. The group has claimed responsibility for both attacks on pedestrians — one Thursday by a van that mowed down people on Barcelona’s famed Las Ramblas promenade and another early Friday in Cambrils. The attacks and a bloody getaway in which a man was stabbed to death left 15 dead and over 120 wounded.
WATCH: 100 gas cylinders found in Barcelona attack suspects’ house
Houli Chemlal, the only survivor of the Alcanar blast, told the court Tuesday he is alive because he was on the ground floor of the house washing dishes after dinner. He testified from a wheelchair without lifting his eyes up from the ground, according to the court official. He has been hospitalized under guard since his arrest Thursday.
The second suspect interrogated, Oukabir, testified that he did rent the vans used in the attacks on pedestrians but thought they were going to be used for a house move. His brother Moussa was one of the five radicals shot dead Friday by police in Cambrils.
According to another person who attended Tuesday’s interrogation, Oukabir told the prosecutor that his first version of events — telling police that his documents were stolen by his brother — was something he had done out of fear. The person spoke on condition of anonymity to discuss the hearing.
The third suspect, Aalla, said an Audi A3 used in last week’s attack in Cambrils was registered under his name but used by another sibling, according to the Spanish judicial official. Police say one of Aalla’s younger brothers died in Cambrils and another one is believed to be the second casualty in the Alcanar house blast where the imam died.
The last surviving suspect, El Karib, the owner of a cybercafe in Ripoll, told the judge on Tuesday that he was only trying to make a profit when he bought at least two plane tickets for two alleged members of the cell.
Police later Tuesday raided that cybercafe in Ripoll as well as a house in Vilafranca del Penedes, searching for more evidence.
WATCH: White Rock man killed in Barcelona terror attack
The lone fugitive from the cell — 22-year-old Younes Abouyaaqoub — was shot to death Monday west of Barcelona after a massive, dayslong manhunt. Police say he flashed what turned out to be a fake suicide belt at two officers who confronted him in a vineyard.
Police said they had “scientific evidence” that Abouyaaqoub drove the van that barreled through Barcelona’s crowded Las Ramblas promenade and that he hijacked a car and fatally stabbed its driver while making his getaway.
Abouyaaqoub’s brother and friends made up the rest of the 12-man extremist cell. Police said with Abouyaaqoub’s death, the group’s members were all dead or in custody.
Chemlal was born in Melilla, one of Spain’s two North African coastal enclaves that have borders with Morocco. Spanish media say the other 11 suspects are all reportedly Moroccans who lived in Spain.