When the civil code was amended in 2005, the right-wing Popular Party claimed it was "unconstitutional" and filed an appeal.
Popular Party leader Mariano Rajoy -- now prime minister of Spain -- said at the time allowing same-sex couples to marry was "unnatural" and "went against the basic social and legal institution of marriage," ThinkSpain reported Thursday.
Jose Luis Rodriguez Zapatero's socialist government amended the civil code to allow couples to marry regardless of their gender. Zapatero joined the gay and lesbian community in saying the ban was "flouting human rights."
2014: The Year in Fashion [PHOTOS]
Syrian fighter plane shot down, Israel claims