A piece of property has five mortgages on it: 1,2 3, 4, and 5. Creditor has a $100,000 mortgage on a piece of property (Mortgage 3). $100,000 Debtor falls into default and Creditor forecloses. $80,000 is raised and paid against the debt. Creditor can get a deficiency judgment for the $20,000 not retired at the foreclosure sale. Mortgages 1 and 2 are deemed to be senior interests. Mortgages 4 and 5 are junior interests. Senior interests are unaffected by a foreclosure sale. Whoever buys the property at the foreclosure sale buys it with mortgages 1 and 2 still attached. Junior interests will be discharged provided that they are properly notified and allowed to participate.