The Supreme Court's ruling in Lemon v. Kurtzman established the three-pronged Lemon test to determine whether a law violates the Establishment Clause, specifically addressing the government's involvement in religious affairs, and ensuring a separation between church and state.