In the United States prostitution was originally widely legal. Prostitution was made illegal in almost all states between 1910 and 1915 largely due to the influence of the Woman's Christian Temperance Union, which was influential in the banning of drug use and was a major force in the prohibition of alcohol. In 1917 the prostitution district Storyville in New Orleans was closed down by the Federal government over local objections. In Deadwood, South Dakota, prostitution, while technically illegal, was tolerated by local residents and officials for decades until the last madam was brought down by state and federal authorities for tax evasion in 1980. Prostitution remained legal in Alaska until 1953, and is still legal in some rural counties of Nevada, including areas outside of Las Vegas. For more, see Prostitution in Nevada.[86]
Beginning in the late 1980s many states increased the penalties for prostitution in cases where the prostitute is knowingly HIV-positive. These laws, often known as felony prostitution laws, require anyone arrested for prostitution to be tested for HIV. If the test comes back positive the suspect is informed that any future arrest for prostitution will be a felony instead of a misdemeanor. Penalties for felony prostitution vary in the states that have such laws, with maximum sentences of typically 10 to 15 years in prison. An episode of COPS which aired in the early 1990s detailed the impact of HIV/AIDS among prostitutes; this episode contributed to HIV/AIDS awareness.

