A business repays the amount borrowed on a note with cash. Which of the following accounts is credited?

A. Notes Receivable
B. Accounts Payable
C. Notes Payable
D. Cash