Ley Orgánica 7/2021, de 26 de mayo, de protección de datos personales tratados para fines de prevención, detección, investigación y enjuiciamiento de infracciones penales y de ejecución de sanciones penales.
This organic law establishes the rules for processing personal data during the prevention, detection, investigation, and prosecution of criminal offenses. It ensures that law enforcement agencies can use data effectively while maintaining strict privacy protections and legal safeguards. Law enforcement authorities and judicial bodies in Spain are primarily affected. The law dictates how they must handle sensitive information to ensure justice is served without violating fundamental rights to privacy and data protection.