Article 29 [source]

Spanish Criminal Code
English translation

Those who, not being included in the previous article, cooperate in the execution of the act with prior or simultaneous acts are considered accomplices.