Generally, a secured transaction is a loan or a credit transaction in which the lender acquires a security interest in collateral owned by the borrower and is entitled to foreclose on or repossess the collateral in the event of the borrower's default. The terms of the relationship are governed by a contract, or security agreement. A common example would be a consumer who purchases a car on credit. If the consumer fails to make the payments on time, the lender will take the car and resell it, applying the proceeds of the sale toward the loan. Mortgages and deeds of trust are another example. In the United States, secured transactions in personal property (that is, anything other than real property) are governed by Article 9 of the Uniform Commercial Code (U.C.C.). Generally, a secured transaction is a loan or a credit transaction in which the lender acquires a security interest in collateral owned by the borrower and is entitled to foreclose on or repossess the collateral in the event of the borrower's default. The terms of the relationship are governed by a contract, or security agreement. A common example would be a consumer who purchases a car on credit. If the consumer fails to make the payments on time, the lender will take the car and resell it, applying the proceeds of the sale toward the loan. Mortgages and deeds of trust are another example. In the United States, secured transactions in personal property (that is, anything other than real property) are governed by Article 9 of the Uniform Commercial Code (U.C.C.). The law treats differently those creditors who are secured (i.e. have an authenticated, perfected security interest) from those creditors who are unsecured. An unsecured creditor is simply a person who is owed money and has not received payment according to the terms of the agreed upon transaction. Upon default of a debtor who has multiple creditors, the distinction between being a secured creditor and an unsecured creditor is legally significant. The secured creditor will generally always have priority to getting his money before the unsecured creditors do. In other words, the unsecured creditor is at the back of the line of priority - his only remedy is to obtain a judgment from the court for the amount of the defaulted loan.