Homosexual acts have been manufactured illegal during Francisco Franco's time in electricity, initial by an modification to the "Ley de Vagos y Maleantes" in 1954, and later on by the "Ley de Peligrosidad y Rehabilitación Social " (Law on Danger and Social Rehabilitation) in 1970. In 1979 Adolfo Suarez's govt reversed the prohibition of homosexual functions in that law.