In 2013, gay activist Pamela Troya filed a lawsuit to strike down the country's same-sex marriage ban. The lawsuit focused mostly on the Inter-American Court of Human Rights' ruling in "Atala Riffo and Daughters v. Chile" and its 2018 opinion on same-sex marriage. The "Atala" case has caused bans on same-sex marriage in Mexico to be struck down and Chile pledging to legalise same-sex marriage. Additionally, in January 2018, the Inter-American Court of Human Rights ruled that same-sex marriage is a human right protected by the American Convention on Human Rights. As a result, on 12 June 2019, the Constitutional Court ruled in a 5–4 vote in favor of same-sex marriage, legalising it in Ecuador.