LEY 25/2007, de 18 de octubre, de conservación de datos relativos a las comunicaciones electrónicas y a las redes públicas de comunicaciones.
This Spanish law establishes the rules for how telecommunications providers must store data related to electronic communications. It ensures that information regarding the use of public communication networks is preserved for specific periods to assist in legal investigations and law enforcement activities. Telecommunications companies and network operators are affected by these requirements. They must implement technical measures to retain metadata, such as connection times and locations, to comply with national security and judicial mandates.