The following excerpt is from Monroy v. Beard, Case No. 1:13-cv-00594-RRB (E.D. Cal. 2013):
20. Ramirez v. Galaza, 334 F.3d 850, 856 (9th Cir. 2003) ("Suits challenging the validity of the prisoner's continued incarceration lie within 'the heart of habeas corpus,' whereas 'a 1983 action is a proper remedy for a state prisoner who is making a constitutional challenge to the conditions of his prison life, but not to the fact or length of his custody.'" (citation omitted)).
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.