Sodomy laws in the United States
All statutes against sodomy (not including bestiality) have been invalidated (ruled unconstitutional) by state courts or Lawrence v. Texas, but 12 states have not repealed them.
The early United States inherited sodomy laws which constitutionally outlawed a variety of sexual acts deemed illegal, illicit, unlawful, unnatural or immoral from the colonial-era based laws in the 17th century. While these laws often targeted sexual acts between persons of the same sex, many sodomy-related statutes employed definitions broad enough to outlaw certain sexual acts between persons of different sexes, in some cases even including acts between married persons.
Through the mid to late 20th century, the gradual decriminalization of consensual sexual acts led to the elimination of anti-sodomy laws in most U.S. states. During this time, the Supreme Court upheld the constitutionality of its sodomy laws in Bowers v. Hardwick in 1986. In 2003, the Supreme Court reversed that decision in Lawrence v. Texas, which invalidated any state sodomy laws, some of which were still law in the following 14 states: Alabama, Florida, Idaho, Kansas, Louisiana, Michigan, Mississippi, Missouri, North Carolina, Oklahoma, South Carolina, Texas, Utah and Virginia.