In the United States, laws vary from state to state. For example, in Pennsylvania, adultery is technically punishable by 2 years of imprisonment or 18 months of treatment for insanity (for history, see Hamowy) (criminal statute repealed 1972), while in Michigan the Court of Appeals, the state's second-highest court, ruled that a little-known provision of state criminal law means that adultery carries a potential life sentence.[2] In Maryland, adultery is punishable by a fine of $10. That being said, such statutes are typically considered blue laws and are rarely, if ever, enforced. In the U.S. Military, adultery is a potential court-martial offense only if the actions of the accused were "to the prejudice of good order and discipline" or "of a nature to bring discredit upon the armed forces".[