The person in whose behalf the application is made is not entitled to relief from imprisonment or restraint under a writ of habeas corpus, if the time during which such person may be detained legally in custody has not expired, whenever it appears:

Terms Used In North Dakota Code 32-22-02

  • Habeas corpus: A writ that is usually used to bring a prisoner before the court to determine the legality of his imprisonment. It may also be used to bring a person in custody before the court to give testimony, or to be prosecuted.
  • Jurisdiction: (1) The legal authority of a court to hear and decide a case. Concurrent jurisdiction exists when two courts have simultaneous responsibility for the same case. (2) The geographic area over which the court has authority to decide cases.
  • Person: means an individual, organization, government, political subdivision, or government agency or instrumentality. See North Dakota Code 1-01-49
  • Process: means a writ or summons issued in the course of judicial proceedings. See North Dakota Code 1-01-49
  • United States: includes the District of Columbia and the territories. See North Dakota Code 1-01-49

1.    That the person is detained in custody by virtue of process issued by any court or judge of the United States in a case where such court or judge has exclusive jurisdiction; or

2.    Except as provided in section 32-22-17, that the person is detained in custody by virtue of the final order or judgment of any competent court of criminal jurisdiction or of any process issued upon such order or judgment.