A court order compelling somebody to carry out an obligation, often something stipulated in a contract.