Article 73 [source]

Spanish Criminal Code
English translation

The person responsible for two or more crimes or offenses will be subject to all the penalties corresponding to the various infractions for simultaneous fulfillment, if possible, due to their nature and effects.