The Supreme Court ruling in Lemon v. Kurtzman established the "Lemon test," a three-pronged analysis for evaluating whether a law violates the Establishment Clause of the First Amendment, specifying that laws must have a secular purpose, must not have the primary effect of advancing or inhibiting religion, and must not create excessive government entanglement with religion.