An existing legal obligation resting upon the promisor, or a moral obligation originating in some benefit conferred upon the promisor, or prejudice suffered by the promisee, is also a good consideration for a promise, to an extent corresponding with the extent of the obligation, but no further or otherwise.
Ca. Civ. Code § 1606