For example

To avoid bankruptcy, the debtor agreed a deed of arrangement to state how the debts were to be paid going forward.