Statutory law is written law (as opposed to oral or customary law) set down by a legislature or other governing authority such as the executive branch of government in response to a need to clarify the functioning of government, improve civil order, answer a public need, to codify existing law, or for an individual or company to obtain special treatment.