In 1878 the Supreme Court ruled in "Reynolds v. United States" that religious duty was not a suitable defense for breaking this law. Many Mormons went into hiding. The Morrill Anti-Bigamy Act was amended in 1882 by the Edmunds Act, and then again in 1887 by the Edmunds–Tucker Act. By 1904, the LDS church stopped bigamy.