Article 577 [source]

Spanish Criminal Code
English translation

1. Anyone who carries out, obtains, or facilitates any act of collaboration with the activities or aims of a terrorist organization, group, or element, or to commit any of the offenses included in this Chapter, shall be punished with imprisonment for five to ten years and a fine of eighteen to twenty-four months. In particular, acts of collaboration include the provision of information or surveillance of persons, property, or facilities; the construction, adaptation, transfer, or use of accommodations or storage facilities; the concealment, harboring, or transfer of persons; the organization of or attendance at training exercises; the provision of technological services; and any other equivalent form of cooperation or assistance to the activities of the terrorist organizations or groups, groups, or persons referred to in the preceding paragraph. When the provision of information or surveillance of persons mentioned in the preceding paragraph endangers their life, physical integrity, liberty, or property, the penalty provided for in this section shall be increased by half. If any of these legally protected interests are harmed, the act shall be punished as co-perpetration or complicity, as the case may be.

2. The penalties provided for in the preceding paragraph shall be imposed on those who carry out any recruitment, indoctrination, or training activity that is directed at, or by its content is suitable for, inciting others to join a terrorist organization or group, or to commit any of the offenses included in this Chapter. These penalties shall also be imposed on those who provide training or instruction on the manufacture or use of explosives, firearms, or other harmful or dangerous weapons or substances, or on methods or techniques especially suited to committing any of the offenses in Article 573, with the intention or knowledge that they will be used for that purpose. The penalties shall be imposed in their upper half, and may be increased to the next higher degree, when the acts foreseen in this section have been directed at minors or persons with disabilities in need of special protection, or at women victims of trafficking with the aim of making them spouses, partners, or sex slaves of the perpetrators of the crime, without prejudice to imposing any additional penalties that may apply for the crimes against sexual freedom committed.

3. If collaboration with the activities or aims of a terrorist organization or group, or in the commission of any of the crimes included in this Chapter, has occurred due to gross negligence, a prison sentence of six to eighteen months and a fine of six to twelve months shall be imposed.