restraint of a person’s liberty by judicial or other detention