Article 584 [source]

Spanish Criminal Code
English translation

Any Spaniard who, with the purpose of favoring a foreign power, association or international organization, obtains, falsifies, renders useless or reveals information classified as reserved or secret, likely to harm national security or national defense, will be punished, as a traitor, with a prison sentence of six to twelve years.