Legal duty

An obligation resulting from a law or legal contract.