Article 217 [source]

Spanish Criminal Code
English translation

Anyone who enters into a second or subsequent marriage, knowing that the previous one legally remains in force, will be punished with a prison sentence of six months to one year.