This is a list of notable events in the history of LGBTQ (lesbian, gay, bisexual, transgender, and queer) that took place in Spain.
The turning point of this trend was marked by the Enlightenment movement, during which individual freedoms began to be recognized and concluded with the elimination of the “crime of sodomy” from the Spanish Criminal Code in 1822.
The 1954 reform of the 1933 "Ley de vagos y maleantes" ("Vagrancy Act")[7] declared homosexuality illegal, equating it with procuring.
However, in other cases the harassment of gay, lesbian and transgender people was clearly directed at their sexual mores, and homosexuals (mostly males) were sent to special prisons called "galerías de invertidos" ("galleries of deviants").
Attitudes in greater Spain began to change with the return to democracy after Franco's death through a cultural movement known as La movida.