Nolo's Plain-English Law Dictionary

Commitment

A judge's order sending someone to jail or prison, upon conviction or before trial (for diagnostic purposes), or directing that a mentally unstable person be confined to a mental institution. Technically, the judge orders law enforcement personnel to take the prisoner or patient to such places.
NOLO1:DRU1.6.8.11.20160427.37128