California Code
CHAPTER 1 - Performance
Section 1473.

1473. Full performance of an obligation, by the party whose duty it is to perform it, or by any other person on his behalf, and with his assent, if accepted by the creditor, extinguishes it.

(Enacted 1872.)