The Writ of Habeas Corpus demands that requires a prisoner must go before the court to determine if there is lawful authority to detain the prisoner. The privilege of the writ of habeas corpus shall not be suspended, unless when in Cases of Rebellion or Invasion the public Safety may require it.This Chapter explains an important right—the writ of habeas corpus. A Writ of Habeas Corpus is a motion which is filed most frequently to ensure that a Defendant's imprisonment or detention is not illegal. By petitioning for a writ, you are asking the court to determine whether your conviction or sentence is illegal. The Privilege of the Writ of Habeas Corpus shall not be suspended, unless when in Cases of Rebellion or Invasion the public Safety may require it. In United States law, habeas corpus is a recourse challenging the reasons or conditions of a person's confinement under color of law. The Privilege of the Writ of Habeas Corpus shall not be suspended, unless when in Cases of Rebellion or Invasion the public Safety may require it. §§ 134121 et seq.,. Sec: 13-1801-13-1820.