Recital 56
Recital 56 of the GDPR, as in force since 25 May 2018. Its key is gdpr-recitals:rec-56.
Where in the course of electoral activities, the operation of the democratic system in a Member State requires that political parties compile personal data on people's political opinions, the processing of such data may be permitted for reasons of public interest, provided that appropriate safeguards are established.