Article 113 [source]

Spanish Criminal Code
English translation

The compensation for material and moral damages will include not only those caused to the injured party, but also those caused to their family members or to third parties.