Laws affecting lesbian, gay, bisexual, and transgender (LGBT) people vary greatly by country or territory—everything from legal recognition of same-sex marriage or other types of partnerships, to the death penalty as punishment for same-sex romantic/sexual activity or identity.
LGBT rights are considered human rights by Amnesty International and civil rights by some. LGBT rights laws include, but are not limited to, the following:government recognition of same-sex relationships (such as via same-sex marriage or similar unions)
allowing LGBT adoption
recognition of LGBT parenting
anti-bullying legislation and student non-discrimination laws to protect LGBT children and/or students
immigration equality laws
anti-discrimination laws for employment and housing
hate crime laws providing enhanced criminal penalties for prejudice-motivated violence against LGBT people
equal age of consent laws
equal access to assisted reproductive technology
access to sex reassignment surgery and hormone replacement therapy
legal recognition and accommodation of reassigned gender
laws related to sexual orientation and military service
allowing men who have sex with men to donate blood
As of March 2017, twenty-two countries, most of them located in the Americas and Western Europe, recognize same-sex marriage and grant most of (if not all) the other rights listed above to its LGBT citizens.
Anti-LGBT laws include, but are not limited to, the following: sodomy laws penalizing consensual same-sex sexual activity with fines, jail terms, or the death penalty; anti-"lesbianism" laws; and higher ages of consent for same-sex activity.
In 2011, the United Nations Human Rights Council passed its first resolution recognizing LGBT rights, which was followed up with a report from the UN Human Rights Commission documenting violations of the rights of LGBT people, including hate crime, criminalization of homosexuality, and discrimination. Following up on the report, the UN Human Rights Commission urged all countries which had not yet done so to enact laws protecting basic LGBT rights.
As of May 2016, 16 countries have an unequal age of consent law.
As of August 2016, 72 countries as well as five sub-national jurisdictions have laws criminalizing homosexuality, with most of them located in Asia and Africa. In 2006 that number was 92.
According to Aristotle, although most "belligerent nations" were strongly influenced by their women, the Celts were unusual because their men openly preferred male lovers (Politics II 1269b). H. D. Rankin in Celts and the Classical World notes that "Athenaeus echoes this comment (603a) and so does Ammianus (30.9). It seems to be the general opinion of antiquity." In book XIII of his Deipnosophists, the Roman Greek rhetorician and grammarian Athenaeus, repeating assertions made by Diodorus Siculus in the 1st century BC (Bibliotheca historica 5:32), wrote that Celtic women were beautiful but that the men preferred to sleep together. Diodorus went further, stating that "the young men will offer themselves to strangers and are insulted if the offer is refused". Rankin argues that the ultimate source of these assertions is likely to be Poseidonius and speculates that these authors may be recording "some kind of bonding ritual ... which requires abstinence from women at certain times".
Throughout Hindu and Vedic texts there are many descriptions of saints, demigods, and even the Supreme Lord transcending gender norms and manifesting multiple combinations of sex and gender. There are several instances in ancient Indian epic poetry of same sex depictions and unions by gods and goddesses. There are several stories depicting love between those of the same sex, especially among kings and queens. Kamasutra, the ancient Indian treatise on love talks about feelings for same sexes. Transsexuals are also venerated e.g. Lord Vishnu as Mohini and Lord Shiva as Ardhanarishwara (which means half woman).
The ancient Law of Moses (the Torah) forbids men lying with men (intercourse) in Leviticus 18 and gives a story of attempted homosexual rape in Genesis in the story of Sodom and Gomorrah, the cities being soon destroyed after that. The death penalty was prescribed. In Deuteronomy 22:5, cross-dressing is condemned as being "abominable".
In Persia homosexuality and homoerotic expressions were tolerated in numerous public places, from monasteries and seminaries to taverns, military camps, bathhouses, and coffee houses. In the early Safavid era (1501–1723), male houses of prostitution (amrad khane) were legally recognized and paid taxes. Persian poets, such as Sa’di (d. 1291), Hafiz (d. 1389), and Jami (d. 1492), wrote poems replete with homoerotic allusions. The two most commonly documented forms were commercial sex with transgender young males or males enacting transgender roles exemplified by the köçeks and Sufi spiritual practices in which the practitioner admired the form of a beautiful boy in order to enter ecstatic states and glimpse the beauty of God.
Middle Assyrian Law Codes dating 1075 BC states: "If a man have intercourse with his brother-in-arms, they shall turn him into a eunuch."
The "conquest mentality" of the ancient Romans shaped Roman homosexual practices. In the Roman Republic, a citizen's political liberty was defined in part by the right to preserve his body from physical compulsion or use by others; for the male citizen to submit his body to the giving of pleasure was considered servile. As long as a man played the penetrative role, it was socially acceptable and considered natural for him to have same-sex relations, without a perceived loss of his masculinity or social standing. The bodies of citizen youths were strictly off-limits, and the Lex Scantinia imposed penalites on those who committed a sex crime (stuprum) against a freeborn male minor. Acceptable same-sex partners were males excluded from legal protections as citizens: slaves, male prostitutes, and the infames, entertainers or others who might be technically free but whose lifestyles set them outside the law.
"Homosexual" and "heterosexual" were thus not categories of Roman sexuality, and no words exist in Latin that would precisely translate these concepts. A male citizen who willingly performed oral sex or received anal sex was disparaged, but there is only limited evidence of legal penalties against these men, who were presumably "homosexual" in the modern sense. In courtroom and political rhetoric, charges of effeminacy and passive sexual behaviors were directed particularly at "democratic" politicians (populares) such as Julius Caesar and Mark Antony.
Roman law addressed the rape of a male citizen as early as the 2nd century BC, when a ruling was issued in a case that may have involved a man of same-sex orientation. It was ruled that even a man who was "disreputable and questionable" had the same right as other citizens not to have his body subjected to forced sex. A law probably dating to the dictatorship of Julius Caesar defined rape as forced sex against "boy, woman, or anyone"; the rapist was subject to execution, a rare penalty in Roman law. A male classified as infamis, such as a prostitute or actor, could not as a matter of law be raped, nor could a slave, who was legally classified as property; the slave's owner, however, could prosecute the rapist for property damage.
In the Roman army of the Republic, sex among fellow soldiers violated the decorum against intercourse with citizens and was subject to harsh penalties, including death, as a violation of military discipline. The Greek historian Polybius (2nd century BC) lists deserters, thieves, perjurers, and "those who in youth have abused their persons" as subject to the fustuarium, clubbing to death. Ancient sources are most concerned with the effects of sexual harassment by officers, but the young soldier who brought an accusation against his superior needed to show that he had not willingly taken the passive role or prostituted himself. Soldiers were free to have relations with their male slaves; the use of a fellow citizen-soldier's body was prohibited, not homosexual behaviors per se. By the late Republic and throughout the Imperial period, there is increasing evidence that men whose lifestyle marked them as "homosexual" in the modern sense served openly.
Although Roman law did not recognize marriage between men, and in general Romans regarded marriage as a heterosexual union with the primary purpose of producing children, in the early Imperial period some male couples were celebrating traditional marriage rites. Juvenal remarks with disapproval that his friends often attended such ceremonies. The emperor Nero had two marriages to men, once as the bride (with a freedman Pythagoras) and once as the groom. His consort Sporus appeared in public as Nero's wife wearing the regalia that was customary for the Roman empress.
Apart from measures to protect the prerogatives of citizens, the prosecution of homosexuality as a general crime began in the 3rd century of the Christian era when male prostitution was banned by Philip the Arab. By the end of the 4th century, after the Roman Empire had come under Christian rule, passive homosexuality was punishable by burning. "Death by sword" was the punishment for a "man coupling like a woman" under the Theodosian Code. Under Justinian, all same-sex acts, passive or active, no matter who the partners, were declared contrary to nature and punishable by death.
E. E. Evans-Pritchard recorded that in the past male Azande warriors in the northern Congo routinely took on young male lovers between the ages of twelve and twenty, who helped with household tasks and participated in intercrural sex with their older husbands. The practice had died out by the early 20th century, after Europeans had gained control of African countries, but was recounted to Evans-Pritchard by the elders to whom he spoke.
In feudal Japan, homosexuality was recognized, between equals (bi-do), in terms of pederasty (wakashudo), and in terms of prostitution. The younger partner in a pederastic relationship often was expected to make the first move; the opposite was true in ancient Greece. In religious circles, same-sex love spread to the warrior (samurai) class, where it was customary for a boy in the wakashū age category to undergo training in the martial arts by apprenticing to a more experienced adult man. The man was permitted, if the boy agreed, to take the boy as his lover until he came of age; this relationship, often formalized in a "brotherhood contract", was expected to be exclusive, with both partners swearing to take no other (male) lovers. The Samurai period was one in which homosexuality was seen as particularly positive. Later when Japanese society became pacified, the middle classes adopted many of the practices of the warrior class.
Anthropologists Stephen Murray and Will Roscoe reported that women in Lesotho engaged in socially sanctioned "long term, erotic relationships" called motsoalle.
In Papua New Guinea, same-sex relationships were an integral part of the culture until the middle of the last century. The Etoro and Marind-anim for example, even viewed heterosexuality as wasteful and celebrated homosexuality instead. They believed that in sharing semen, they are sharing their life force, yet women simply wasted this force any time they didn't get pregnant after sex. In many traditional Melanesian cultures a prepubertal boy would be paired with an older adolescent who would become his mentor and who would "inseminate" him (orally, anally, or topically, depending on the tribe) over a number of years in order for the younger to also reach puberty.