A sodomy law is a law that defines certain sexual acts as crimes. The precise sexual acts meant .. The Code Napoléon made sodomy legal between consenting adults above the legal age of consent in all Italy except in the Kingdom of Sardinia.
Sodomy laws in the United States, which outlawed a variety of sexual acts, were inherited from . As of March , 16 states either have not yet formally repealed their laws against sexual activity among consenting adults or have not revised.
Sodomy laws were ruled unconstitutional by the US Supreme Court in In , the United States Supreme Court declared sodomy laws unconstitutional. Historically, sodomy (usually defined as oral and anal sex) was a crime in many states, even when the acts were performed in.