legal confinement

See: commitment