 Until recently, many southern states and some Great Plains states in the United States banned the sale of dildos completely, either directly or through laws regulating "obscene devices".In 2007, a federal appeals court upheld Alabama's law prohibiting the sale of sex toys.The law, the Anti-Obscenity Enforcement Act of 1998, was also upheld by the Supreme Court of Alabama on September 11, 2009.