Top cities: Madrid, Barcelona
Legal since: July 2005
Number of married gay couples: 23,523 through the end of 2011
Former Spanish Prime Minister José Luis Rodríguez Zapatero (pictured) called the passage of gay marriage his proudest achievement. His conservative successor, Mariano Rajoy, vowed to repeal the law, but the country’s Constitutional Court upheld it by and 8 to 3 margin last November.