It depends on the country or state in question. In the United States, for example, the Supreme Court ruled in Edwards v. Aguillard (1987) that a Louisiana law requiring the teaching of creationism alongside evolution in public schools was unconstitutional. However, this ruling did not make it illegal to teach creationism in private schools or in homeschooling environments.