The following excerpt is from McGauley v. Fresno Cnty. Sheriff, Case No. 1:14-cv-01686-AWI-SKO-HC (E.D. Cal. 2014):
A federal court may only grant a state prisoner's petition for writ of habeas corpus if the petitioner can show that "he is in custody in violation of the Constitution or laws or treaties of the United States." 28 U.S.C. 2254(a). A habeas corpus petition is the correct method for a prisoner to challenge the legality or duration of his confinement. Badea v. Cox, 931 F.2d 573, 574 (9th
Page 4
The above passage should not be considered legal advice. Reliable answers to complex legal questions require comprehensive research memos. To learn more visit www.alexi.com.