Same-sex marriage: Legal from Apr 10, 2013 to now.
Same-sex marriage became legal in Uruguay after the passing of the Equal Marriage Act. Uruguay became the twelfth country in the world to legalize gay marriage and the second Latin American country, after Argentina.
Same-sex marriage: Legal from Jul 15, 2010 to now.
In 2010, Argentina became the first country in Latin America to legalize gay marriage. The Senate passed the bill by a narrow margin (33 votes in favor, 27 against, and 3 abstained).
Homosexual activity: Legal from Dec 16, 1830 to now.
Shortly after Brazil gained independence from Portugal, in 1830, the Imperial Penal Code decriminalized sodomy.
Brazil's 1988 Constitution further strengthened affirmative protections by prohibiting any form of discrimination. Since then courts have since affirmed this additionally applies to sexual orientation.
Same-sex marriage: Civil unions from May 5, 2011 to May 14, 2013.
Although the first formal legal recognition of a civil union took place in 2004 (See first source), the Supreme Court did not rule in favor of civil unions throughout the country until May 5, 2011.