The 1970 Law on Social Danger and Rehabilitation ("la ley de peligrosidad y rehabilitación social") was a Spanish penal code law approved by dictator Francisco Franco's regime on August 5, 1970. It replaced the 1933 Law on Vagrants and Criminals ("la ") which sought to punish and exclude "antisocial" members of society, such as beggars, vandals, drug traffickers, pornographers, prostitutes, pimps and illegal immigrants. Although the jurisdiction of the Law of Vagrants and Criminals was officially extended in 1954 to include homosexuals as "antisocial" members of society, the law never targeted them specifically. The Law of Danger and Social Rehabilitation went a step further than the Law of Vagrants and Criminals, specifically criminalizing homosexuality and establishing a spectrum of punishments for citizens caught engaged in homosexual acts. The law was passed in 1970, just a year after the Stonewall Uprising in New York City, whose legacy set into motion a series of gay rights movements around the world.