Status of same-sex marriage which includes same-sex marriage and same-sex adoption. The bill was approved by parliament, but rejected by voters in a 2015 referendum. On 24 February 2017, a new law came into effect which gives same-sex partnerships all the legal rights of marriages, with the exception of adoption and in-vitro fertilisation. Spain became the third country in the world (after the Netherlands and Belgium) to legalize same-sex marriage. After being elected in June 2004, Spanish prime minister José Luis Rodríguez Zapatero restated his pre-election pledge to push for legalization of same-sex marriage. On 1 October 2004, the Spanish Government approved a bill
José Luis Rodríguez Zapatero His style's defining word is "(buen) talante", roughly "pleasantness", "niceness" or "good disposition", which is in brisk and carefully chosen contrast with the more confrontational and brusque premiership style of previous Prime Minister José María Aznar. Similarly, Zapatero has been quoted to shy away from adopting unpopular measures, having a "habit of showering public money on any problem" and, in all, being "averse to tough decisions". One of the first measures he carried out as soon as he took office was to withdraw every Spanish soldier fighting in Iraq, calling the invasion of that country "an error based on lies".