legal duty
A duty created by the operation of law or arising from the terms of a contract.