Habeas corpus is a legal term for the right to have a judge decide if a person is being detained lawfully. The request is made to the court in a written document called a writ.
Writ of garnishment - an order of the court whereby property, money, or credits in the possession of another person may be seized and applied to pay a debtor's debt.