A writ of habeas corpus in California is where an inmate challenges their conviction or sentencing. A writ of habeas corpus is a legal petition presented to judges in criminal cases by inmates in custody where they are challenging their conviction or sentencing conditions.
Ask the court for a writ of habeas corpus (a court order telling a public official, like a prison warden, to bring you to the court and show a legal reason for holding you) to challenge your criminal conviction or commitment to another facility or the conditions under which you are being held.
Section 2241 of Title 28 of the United States Code (“28 U.S.C. § 2241”) permits courts to issue writs of habeas corpus where a prisoner establishes that he is in custody in violation of the Constitution or laws or treaties of the United States.
A federal petition for writ of habeas corpus under 28 U.S.C. § 2254 is used by a (1) state prisoner (2) being held in state custody (3) to challenge the validity of a state criminal conviction or sentence (4) for the purpose of obtaining release from custody.
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.
A 2255 petition may be filed by a person in federal custody to challenge a federal criminal conviction and/or sentence. Unlike a 2254 petition, which challenges a state-court conviction and/or sentence, a 2255 petition is not limited to federal constitutional claims.
A §2255 motion is a “collateral” or indirect challenge to the judgment or sentence against you attacking the conviction or sentence as unconstitutional or contrary to federal law; it is a proceeding separate from your criminal conviction or sentence that is used to challenge the conviction or sentence on certain ...
§ 2254 by a person in custody challenging his or her current or future custody under a state-court judgment on the grounds that such custody violates the Constitution or laws or treaties of the United States.
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.