A suspected jihadist cell recently apprehended by Spanish anti-terrorist officers planned to kill Jews and policemen in Madrid, authorities said.

The three alleged members of the cell, who were arrested on Tuesday, were Moroccan nationals living in Spain on valid staying permits, the La Voz de Galicia daily reported on Wednesday.

According to the findings of the investigation that led to their arrest, they considered themselves affiliated to the Islamic State terrorist organization but never traveled to the Middle East to participate in fighting there.

Get The Times of Israel's Daily Edition by email and never miss our top stories Free Sign Up

The three remained in contact online and planned to carry out attacks similar to the ones perpetrated by Amedy Coulibaly, who in January murdered four people at a kosher supermarket in eastern Paris a day after he gunned down a police officer south of the city.

The report, based on information provided by unnamed officials, did not name specific targets allegedly eyed by the suspects, aged 26-29. It said they had “planned an imminent attack on security forces or attacks against Jewish interests in the Spanish capital.”