A ruling by the Supreme Court of Justice of the Nation (SCJN) strikes down articles 140 and 148 of the Civil Code, which banned same-sex marriage. 26 October: The Congress of Tamaulipas passes a invoice legalizing similar-sex marriage in a 23-12 vote. 12 June: The Constitutional Court of Ecuador legalises identical-sex marriage in a 5-4 vote. 18 October: The Parliament of Slovenia passes a law codifying the Constitutional Court's determination to legalize identical-sex marriage and adoption in a 51-24 vote. The bill had been authorised two days earlier by the Chamber of Deputies by eighty two votes to 20 and by the Senate in a 21 to 8 vote. 1 July: Parliament of Montenegro legalizes civil partnerships for identical-intercourse couples in a 42-5 vote and 34 abstentions. 11 October: The Congress of the State of Mexico approves a legislation allowing similar-intercourse marriage and concubinage in a 50-sixteen vote, with 7 abstentions.