Article 43 [source]

Spanish Criminal Code
English translation

Suspension from employment or public office deprives the convicted person of its exercise for the duration of the sentence.