File image of Lahcen Ikasrrien, arrested in 2014 and found guilty of sending combatants to Syria. Álvaro García

Four people believed to belong to the so-called Islamic State (ISIS) have been arrested in Spain, according to Interior Minister Juan Ignacio Zoido.

The arrests came as part of a joint operation between the Spanish National Police and the Moroccan General Directorate of Security against jihadist terrorism. According to the minister, two suspects were arrested in Figueres (Girona), one in Parla (Madrid) and another in Tangiers in Morocco.

🚩Momento de la detención en #Figueras de 2 personas en operación contra terrorismo yihadista en colaboración con #Marruecos. 2 detenciones en Figueras, 1 en Parla y otra en Tánger. pic.twitter.com/yeQl2PCpkM — Policía Nacional (@policia) December 5, 2017

In a press release, the police reported that the suspect detained in Morocco is considered a “dangerous and well-known” member of ISIS who created “over 300 social media profiles” to spread jihadist ideology. The two arrested in Figueres are “direct students of the former” and allegedly hacked social media accounts of unsuspecting people to publish violent and graphic material.

According to the police, the suspect arrested in Parla posed “a real risk” to Spanish national security and was already “in an advanced process of radicalization,” recruiting accomplices to “plan an attack.”

The operation took place with the support of the Guipúzcoa and Barcelona intelligence squads, Europol and the General Directorate for Territorial Surveillance of Morocco (DGST).