Skip to content
A
Alonso Sala
CRIMINAL LAWYERS
ES

Cyber Sexual Harassment Lawyer (Arts. 172 ter & 183 CP)

Criminal defense against charges of sexual harassment through digital means: social media, messaging and dating apps.

Last updated:

Cyber Sexual Harassment: Concept

Cyber sexual harassment is the set of sexual harassing, intimidating or pursuing conducts carried out through digital means: social media, instant-messaging apps, dating platforms, forums, chat rooms, gaming platforms and streaming services. Its criminal classification in Spanish law depends on the elements present and the victim's age, spread across several offences with different penalties and protected interests.

Applicable Offences

Cyber sexual harassment may engage several offences that can concur: the stalking offence (Art. 172 ter CP) where the conduct is repeated and seriously alters the victim's daily life (3 months to 2 years); grooming (Art. 183 CP) where an adult contacts a child under 16 to arrange a sexual encounter (1 to 3 years); threats (Art. 169 CP); coercion (Art. 172 CP); and the discovery and disclosure of secrets (Art. 197 CP), including the non-consented distribution of intimate images (Art. 197.7 CP).

Grooming under Article 183 CP

Grooming protects children under sixteen from online approaches for a sexual purpose. It punishes, with one to three years' imprisonment, a person who contacts a child under 16 through information and communication technologies and proposes a meeting with the purpose of committing a sexual offence, where the proposal is accompanied by material steps towards the approach. The aggravated subtype applies where there is prevalence, deception or coercion.

Evidence and Chain of Custody

Proving cyber sexual harassment raises specific technical challenges. The defense addresses material authorship (effective identification of the user behind the account; shared or impersonated accounts), the authenticity and integrity of messages and screenshots, the chain of custody of the digital evidence, the lawfulness of how it was obtained, and the completeness of the communicative context (selected messages can distort the reading).

Defense Strategy

  1. Repetition required by Article 172 ter CP.
  2. Material authorship where accounts are shared or impersonated.
  3. Sexual purpose of the contact in grooming cases, and reasonable mistake as to age where the profile showed an adult appearance.
  4. Challenge to digital evidence for lack of chain of custody or irregular obtaining.
balance

Penalty Chart

Type / ScenarioCriminal Penalty
StalkingArt. 172 ter CP: 3 months to 2 years' imprisonment for repeated harassment.
GroomingArt. 183 CP: 1 to 3 years where the victim is under 16.
Image sharingArt. 197.7 CP: non-consented distribution of intimate images, with cumulative penalties.

* Penalties shown are indicative. The actual penalty depends on case circumstances, applicable mitigating and aggravating factors.

Sexual Offenses and Gender Violence in Spain: Legal Defense Guide

Sexual offenses in Spain are governed by Art. 178-194 of the Criminal Code, significantly reformed by Organic Law 10/2022 (the "Only Yes Means Yes" law) and its subsequent correction by LO 4/2023. Gender violence offenses — one of Spain's most prosecuted areas — are found in Art. 153-173 CP, with special aggravated penalties when the victim is an intimate partner.

Penalty Table: Sexual Offenses (Post-2023 Reform)

OffenseArticlePenalty
Sexual assault (basic)Art. 1781 – 4 years
Sexual assault with penetrationArt. 1794 – 12 years
Aggravated sexual assaultArt. 1807 – 15 years
Child sexual abuse (under 16)Art. 1832 – 15 years
Child pornography (holding)Art. 189.53 months – 1 year
Gender violence (minor assault)Art. 153.16 months – 1 year
Stalking / HarassmentArt. 172 ter3 months – 2 years

Critical Defense Strategies

Consent Analysis (Only Yes Means Yes)

Post-reform, consent must be explicit and ongoing. Defense focuses on context, prior relationship history, and how withdrawal of consent was expressed.

False Allegations Defense

False accusations are frequent in custody disputes. Challenge credibility with inconsistencies between statements, phone/message evidence, and expert psychological assessment.

Digital Evidence Review

WhatsApp messages, social media interactions, and digital footprint often contradict prosecution narratives. Comprehensive digital forensics analysis is essential.

Challenging the Expertise Reports

Psychological victim assessments used in court are frequently challenged on methodological grounds. Expert counter-reports are a cornerstone of defense.

gavel

Why Choose Us?

Need a criminal defense lawyer for this type of offense? Here's how we work:

check
No RepetitionThe messages were isolated and did not amount to a sustained pattern of harassment.
check
IdentityThe accused was not the person controlling the account or device from which the messages were sent.
check
Prior ConsentA prior consented relationship existed and the messages fell within that context.
workspace_premium
+15 Years of ExperienceTeam dedicated exclusively to criminal law before Spanish courts and tribunals.
support_agent
Direct AttentionYour case is handled directly by a senior lawyer of the firm.
Consult My Casearrow_forward

Do you need specialised legal assistance?

The judicial system is complex. We have the criminal-law specialisation and technical resources required to take on the defence.

call