Eight inmates were arrested, including five Moroccans imprisoned since 2013, a prison worker and two other people, the interior ministry said.
The eight had “proposed directly to other inmates to carry out attacks. In order to convince them, they promised them large sums of money,” the ministry said in a statement.
“They also said that they had a contact with Daesh (Islamic State) who would sent money to their families in compensation,” it added.
? Desarticulado un grupo que radicalizaba en prisión a otros reclusos para que se integrasen en DAESH y atentasen tras su excarcelación.
Detenidos cinco reclusos y dos personas más en #Alcorcón (Madrid). pic.twitter.com/eXETyZTpNU
— Policía Nacional (@policia) February 4, 2019
The ministry did not say when the arrests were made but the Moroccas, aged between 25 and 68, were in two prisons, one in the Madrid region and the other in northwest Spain.
Spain has suffered a series of terror attacks in the past, from the Madrid train bombings which killed 191 people in 2004 to 2017's assault in Barcelona and nearby Cambrils which left 16 dead.