legal duty

noun

1.
acts which the law requires be done or forborne