Full text
Text in force since 1 July 2015.
The text below is the official Spanish wording of this provision; the summary and guidance above are in English.
TÍTULO VI — Delitos contra la libertad
Text in force since 1 July 2015.
The text below is the official Spanish wording of this provision; the summary and guidance above are in English.
In-depth analysis
Article 165 of the Criminal Code: aggravating factors of unlawful detention — penalties, case law and defence strategyOur firm’s monographic guide to this provision, with typical scenarios and lines of defence.
History of reforms to this article, from oldest to most recent, as recorded in the BOE’s consolidated legislation.
Ley Orgánica 10/1995, de 23 de noviembre, del Código Penal.
In force from 24/05/1996 to 30/06/2015
Article 165 does not define a stand-alone offence: it is an aggravating clause that applies to the two offences in the previous chapter, unlawful detention and kidnapping, whenever one of three circumstances is present. The first is that the act is carried out through simulation of authority or a public function: for example, someone who poses as a police officer to detain another person; since they are not a genuine official, they are liable as a private individual under Article 163, but with this aggravation added. The second is that the victim is a minor or a person with a disability in need of special protection. The third is that the victim is a public official acting in the exercise of their duties: here it is the penalty of whoever deprives the official of their liberty that is aggravated, not the official's own liability.
This last scenario should not be confused with Article 167, which aggravates the opposite situation: where it is the authority or public official themselves who, outside the cases permitted by law, carries out the unlawful detention or kidnapping. Article 165 protects a victim who happens to be a public official; Article 167 toughens the penalty for an offender who is one.
The article imposes the penalties of Articles 163 and 164 in their upper half. Simple unlawful detention under Article 163.1, punished with four to six years' imprisonment, therefore becomes five to six years; if the detention has lasted more than fifteen days (Article 163.3, five to eight years), the aggravation raises it to six years and six months to eight years. Kidnapping with a demand under Article 164, punished with six to ten years' imprisonment, becomes eight to ten years. The same upper-half rule also reaches the mitigated forms and the fine under Article 163.4.
Article 165 itself allows the aggravation to apply "in the respective cases", meaning more than one circumstance can concur in the same act. The article sets no further bracket for multiple circumstances concurring, so weighing them together is left to the court within the upper half already described.
Defending against a charge aggravated under Article 165 starts by checking whether there was genuinely a simulation of authority, or whether the victim could reasonably have believed the action was lawful. Where the victim is a public official, it is decisive to establish whether they were actually exercising their duties at the time, since the aggravation does not apply outside that exercise. And the exact duration of the deprivation of liberty — decisive for moving from the four-to-six-year bracket to the five-to-eight-year one — requires a precise chronological reconstruction of events.
Orientative data computed from the highest prison term this article provides for (including the degree rules it imposes itself or the penalties of another article it refers to) and, where there is one, its disqualification, which also counts towards the classification and the limitation period (arts. 33 & 131.1 CP). Aggravated or mitigated subtypes, other non-custodial penalties and concurrence rules may alter the outcome in each specific case.
Our team regularly defends those accused under illegal detention & kidnapping. Technical strategy aimed at dismissal or acquittal when legally viable.
This page is for information purposes only and does not constitute legal advice: every case requires individual assessment. How this content is produced and verified: editorial policy.