In this habeas corpus proceeding the state appeals the order of the district court granting the writ to the extent the petitioner requests credit for postsentencing custody in county jail pending appeal of his conviction. We affirm.
Petitioner entered a plea of guilty in state court to a charge of theft of property in the second degree. See Ala.Code § 13A-8-4. In accordance with the agreement upon which his plea was based, he was sentenced to ten years in the state penitentiary, the maximum sentence for that offense. See id. §§ 13A-8-4(b), -5-6(a)(3). Petitioner filed a notice of appeal and requested that his sentence be suspended during appeal. See id. § 12-22-170. The trial court suspended execution of the sentence, but petitioner was financially unable to post the $10,000 bond set by the court. He thus remained in the custody of the sheriff until his conviction was affirmed by the court of criminal appeals approximately six months later.
With respect to presentencing custody, the case law of the former fifth circuit could not be clearer. The equal protection clause does not allow a state to extend a prisoner’s sentence beyond the maximum period prescribed by law by refusing to give the prisoner credit for presentencing detention occasioned by the prisoner’s financial inability to make bail.
E.g., Bayless v. Estelle,
We perceive no distinction in principle between a denial of credit for time spent in presentencing custody that results in the detention of indigents longer than the maximum period imposable by law and a similar denial when the detention occurs after sentencing, pending appeal. The effect in either case is to subject indigent prisoners to longer terms of incarceration than nonindigents. Earlier pronouncements of this court have anticipated the result we reach here. As was broadly declared in
Hart,
The state maintains that
Dimmick v. Tompkins,
*643
Under Alabama law a criminal defendant who appeals his conviction has the option of being transferred to the penitentiary pending appeal or of having his sentence suspended and either going free on bail, if eligible and financially able, or remaining in county jail. A person taking the former route receives credit on his sentence for this detention, while one pursuing the latter course does not.
See
Ala.Code §§ 12-22-170, -172;
Gamble,
In an effort to come within the actual holdings of Dimmick and Gamble, the state argues that only by petitioner’s voluntary act of sitting out the appeal in county jail rather than state prison was he denied postsentencing credit. What is at issue here, however, is not whether petitioner unilaterally chose to be detained in county jail once his inability to post bond mandated his continued incarceration pending appeal, but whether he may be detained at all without credit while wealthier defendants go free on bail, with the result that petitioner and other indigents serve terms beyond the statutory maximum. We hold that he may not. 1
AFFIRMED.
Notes
. Our cases have limited an indigent prisoner’s equal protection right to presentencing credit to situations in which the sentence given and the presentencing custody together exceed the statutory maximum for the particular offense.
E.g., Matthews,
