Article 422 [source]

Spanish Criminal Code
English translation

Any public official or authority who, for their own benefit or that of a third party, accepts, either directly or through an intermediary, a gift or present offered to them in consideration of their position or function, shall be subject to imprisonment for six months to one year and suspension from employment and public office for one to three years.