A legal document that obligates a borrower to repay a loan at a stated interest rate during a specified period of time. The agreement is secured by a mortgage.