A federal appeals court has overturned a Texas statute outlawing sex toy sales, essentially leaving Alabama as the only state with such a ban.

The 5th U.S. Circuit Court of Appeals ruled that the Texas law making it illegal to sell or promote obscene devices, punishable by up to two years in jail, violated the Constitution’s 14th Amendment on the right to privacy.