The principle obligation of the mortgage had been fulfilled.
The creditor/mortgagee set the mortgagor free from the mortgage.
With a written evidence.
If the debtor fails to fulfill the obligation and the creditor/mortgagee enforced the mortgage.
The court ordered to sell the mortgage property.