The origins and requirements of the duty to promote justice