The study of homosexuality in Mexico can be divided into three separate periods, coinciding with the three main periods of Mexican history: pre-Columbian, colonial, and post-independence, in spite of the fact that the rejection of homosexuality forms a connecting thread that crosses the three periods. The data on the pre-Colombian people and those of the period of colonization is scarce and obscure. Historians often described the indigenous customs that surprised them or that they disapproved of, but tended to take a position of accusation or apology, which makes it impossible to distinguish between reality and propaganda. In general, it seems that the Mexica were as homophobic as the Spanish, and that other indigenous peoples tended to be much more tolerant, to the point of honoring Two-Spirit people as shamans. The history of homosexuality in the colonial period and after independence is still in great part yet to be studied. Above all, the 1658 executions of sodomites and the 1901 Dance of the Forty-One, two great scandals in Mexican public life, dominate the scene. The intellectual influence of the French Revolution and the brief French occupation of Mexico (1862–67) resulted in the adoption of the Napoleonic Code, which decriminalized same-sex sexual acts in 1871. Laws against public immorality or indecency, however, have been used to prosecute persons who engage in them. The situation is changing in the 21st century, in part thanks to the discovery of the LGBT community as potential consumers, the so-called pink peso, and tourists. Laws have been created to combat discrimination (2003), and two federal entities, the Federal District and Coahuila, have legalized civil unions for same-sex couples (2007). On December 21, 2009, despite opposition from the Church, the Government of Mexico City approved same-sex marriage, with 39 votes in favor, 20 against and 5 abstaining. It was the first city in Latin America to do so. Later, this right is recognized nationwide. However, in 2007 Mexico was still one of the countries in which the most crimes are committed against the LGBT community, with a person being murdered in a homophobic crime every two days. Pre-Columbian era The majority of information on the pre-Columbian peoples comes from the reports of the Spanish conquest. These accounts must be taken with caution, given that the accusation of sodomy was used to justify the conquest, along with other accusations real or invented, such as human sacrifice, cannibalism, or idolatry.