A legal proceeding in federal court in which a debtor seeks to restructure his or her obligations to creditors pursuant to the Bankruptcy code. This generally affects the borrower’s personal liability for a mortgage debt, but not the lien securing the mortgage.