Legal positivism
In legal philosophy, legal positivism is the theory that the existence of the law and its content depend on social facts, such as acts of legislation, judicial decisions, and customs, rather than on morality. This contrasts with theories such as natural law, which hold that law is necessarily connected to morality in such a way that any law that contradicts morality lacks legal validity.