A writ of attachment is a court order to "attach" or seize an asset. It is issued by a court to a law enforcement officer or sheriff. The writ of attachment is issued in order to satisfy a judgment issued by the court. A prejudgment writ of attachment may be used to freeze assets of a defendant while a legal action is pending. Common grounds for obtaining a prejudgment writ of attachment are that a defendant has committed fraud or that a defendant is prepared to hide assets from a court.