A legal doctrine is a framework, set of rules, procedural steps, or test, often established through precedent in the common law, through which judgments can be determined in a given legal case. For example, a doctrine comes about when a judge makes a ruling where a process is outlined and applied, and allows for it to be equally applied to like cases. When enough judges make use of the process, it may become established as the de facto method of deciding like situations.