Article I, Section 9, Clause 2: 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.
A writ of habeas corpus is used to bring a prisoner or other detainee (e.g. institutionalized mental patient) before the court to determine if the person's imprisonment or detention is lawful. A habeas petition proceeds as a civil action against the State agent (usually a warden) who holds the defendant in custody.
A writ of habeas corpus orders the custodian of an individual in custody to produce the individual before the court to make an inquiry concerning his or her detention, to appear for prosecution (ad prosequendum) or to appear to testify (ad testificandum).
The court must rule on a petition for writ of habeas corpus within 60 days after the petition is filed.
If the lawyer or licensed paralegal practitioner (LPP) who was representing you no longer does, they are supposed to file a Notice of Withdrawal of Counsel or Licensed Paralegal Practitioner with the court. This notice tells the court and the other party that the lawyer or LPP no longer represents you.
By petitioning for a writ, you are asking the court to determine whether your conviction or sentence is illegal. A writ of habeas corpus can be very powerful because if the court accepts your argument, the court can order your immediate release, a new trial, or a new sentencing hearing.
If your petition is rejected, then your case moves to the California Court of Appeal, and possibly the California Supreme Court. You will file a Habeas Corpus petition in California if you are arguing that your conviction violated a state law, or that a California law is unconstitutional.
Typical examples where a court has granted a habeas corpus petition include claims of new evidence discovered in the case, ineffective assistance of counsel, prosecutorial misconduct, incompetence to stand trial, and challenging conditions of confinement.
State every ground (reason) that supports your claim that you are being held in violation of the Constitution, laws, or treaties of the United States. Attach additional pages if you have more than four grounds. State the facts supporting each ground. Any legal arguments must be submitted in a separate memorandum.
Typical examples where a court has granted a habeas corpus petition include claims of new evidence discovered in the case, ineffective assistance of counsel, prosecutorial misconduct, incompetence to stand trial, and challenging conditions of confinement.