Article 615 bis [source]

Spanish Criminal Code
English translation

1. Any military authority or commander, or anyone effectively acting as such, who fails to take all measures within their power to prevent the commission, by forces under their command or effective control, of any of the offenses included in Chapters II, II bis, and III of this Title, shall be punished with the same penalty as the perpetrators.

2. If the aforementioned conduct is carried out through gross negligence, the penalty shall be reduced by one or two degrees.

3. Any military authority or commander, or anyone effectively acting as such, who fails to take all measures within their power to ensure the prosecution of offenses included in Chapters II, II bis, and III of this Title committed by persons under their command or effective control, shall be punished with a penalty two degrees lower than that of the perpetrators.

4. Any superior not covered by the preceding sections who, within the scope of their authority, fails to take all measures within their power to prevent their subordinates from committing any of the offenses included in Chapters II, II bis, and III of this Title shall be punished with the same penalty as the perpetrators.

5. Any superior who fails to take all measures within their power to ensure the prosecution of offenses included in Chapters II, II bis, and III of this Title committed by their subordinates shall be punished with a penalty two degrees lower than that of the perpetrators.

6. Any official or authority who, without engaging in the conduct described in the preceding sections, and failing in their official duties, neglects to initiate the prosecution of any of the offenses included in Chapters II, II bis, and III of this Title of which they become aware, shall be punished with special disqualification from public employment or office for a period of two to six years.