Spanish police have arrested a Moroccan man for allegedly posting pro-Islamic State armed group videos and other propaganda on the Internet.

An Interior Ministry statement said the 20-year-old was arrested Thursday in Spain's North African enclave city of Ceuta.

The ministry said the man had become more radical in recent weeks, posting videos of IS executions of prisoners on Internet sites he managed, as well as pictures of alleged IS members with weapons. He also posted a photograph of himself with a handgun.

The detention comes after police in Ceuta on Tuesday arrested three suspected members of a jihadi cell that sought to recruit IS fighters. A fourth was arrested in Morocco.

Spain has arrested dozens of suspected jihadi militants and sympathizers in recent years.