1. Anyone who, with the aim of training to commit any of the offenses defined in this Chapter, receives indoctrination or military or combat training, or training in techniques for developing chemical or biological weapons, or for manufacturing or preparing explosive, flammable, incendiary, or asphyxiating substances or devices, or those specifically designed to facilitate the commission of any of these offenses, shall be punished with imprisonment for two to five years.
2. The same penalty shall be imposed on anyone who, with the same aim of training to commit any of the offenses defined in this Chapter, personally carries out any of the activities described in the preceding paragraph. Anyone who, with the purpose of inciting violence, habitually accesses one or more publicly accessible online communication services or content accessible via the internet or an electronic communications service, the content of which is intended or suitable for inciting membership in a terrorist organization or group, or for collaborating with any such organization or group or its aims, shall be deemed to have committed this offense. The acts shall be deemed to have been committed in Spain when the content is accessed from Spanish territory. Likewise, anyone who, with the same purpose, acquires or possesses documents that are intended or, by their content, are suitable for inciting membership in a terrorist organization or group, or for collaborating with any such organization or group or its aims, shall be deemed to have committed this offense.
3. The same penalty shall be imposed on anyone who, for the same purpose, or to collaborate with a terrorist organization or group, or to commit any of the offenses included in this Chapter, moves to or establishes themselves in a foreign territory.