Related Posts: Edmunds Act (1882); Morrill Anti-Bigamy Act (1862); Idaho Test Oath (1884-85); More on gay marriage
(Google Books text here)
In an effort to stamp out polygamy the US Congress passed the Edmunds-Tucker Act in 1887. This act made adultery punishable by up to three years in prison, unmarried sex was punishable by up to six months in prison, and the female vote was revoked. (Women had won the right to vote in Utah in 1870.)
Below is the entire text of the Edmunds-Tucker Act.