Article 164 [source]

Spanish Criminal Code
English translation

The kidnapping of a person while demanding any condition for their release shall be punished with a prison sentence of six to ten years. If the kidnapping involves the circumstances of Article 163.3, the next higher penalty shall be imposed, and the next lower penalty if the conditions of Article 163.2 are met.