1970 Law on dangerousness and social rehabilitation

[1] Punishments for homosexuality included internment in rehabilitation establishments for periods lasting between six months and five years, exclusion from visiting certain public spaces or from living in specific neighborhoods, and possible prison time.

Although not written into law, punishments would sometimes include torture, public humiliation, or forced medical procedures such as shock therapy, which attempted to rid subjects of homosexuality.

[5] Scholars accredit the growth of the LGBTQ rights movement in Spain to the "defense of identity" that followed the identification and criminalization of homosexuality in the 1970 Law on Social Danger and Rehabilitation.

[8] Newly elected members of the 1977 Congress of Deputies from the Communist Party of Spain proposed an amendment to the Law of Social Danger that included the repeal of its third section, which criminalized those participating in homosexual acts.

[9] Along with the ratification of a new democratic constitution in Spain on December 6, 1978, this part of Law of Social Danger was overturned, as Judge Miguel Lopéz Muñiz argued that it was a "product of the Franquista regime," but many homosexual prisoners were not released until a year later, in 1979.

Spanish Constitution of 1978