delivered the Opinion of the Court.
The petitioner, Paul Fields, Jr., appeals from the denial of his petition for a writ of habeas corpus in the Bent County District Court. Fields was convicted of first-degree murder in 1982 and sentenced to life imprisonment. His petition alleges that, in calculating his parole eligibility date, the Colorado Department of Corrections (DOC) illegally refuses to credit him with the 329 days that he spent in presentence confinement. 1 The district court denied the petition as premature because, even accepting Fields’s argument as correct, the date that Fields claims should be his parole eligibility date is still more than a year in the future.
We agree that habeas corpus is not an appropriate remedy at this time. However, in the interests of justice and of judicial economy, we elect to treat this appeal as an original proceeding under C.A.R. 21 in the nature of mandamus. Reaching the merits of Fields’s claim, we conclude that the DOC must credit Fields with his 329 days of pre-sentence confinement in calculating his parole eligibility date.
I. FACTS AND PROCEEDINGS BELOW
The relevant facts are not in dispute. On March 19, 1981, Fields was arrested for first-degree murder and incarcerated. He remained continuously incarcerated until February 11, 1982, when he was convicted in Arapahoe County District Court of one count of first-degree murder 2 and two counts of criminal attempt to commit first-degree murder. 3 That same day, the trial court sentenced Fields to life imprisonment on the first-degree murder count, 4 and he was remanded to the custody of the DOC.
The mittimus for this case reflects that Fields was incarcerated for 329 days from the date of his arrest until the date of sentencing. Fields’s petition asserts that the DOC initially took his presentence confinement into account and calculated his parole eligibility date as March 19, 2001, which is twenty calendar years from the date of his arrest. The DOC subsequently recalculated Fields’s parole eligibility date as February 11, 2002, twenty calendar years from the date of his sentencing. Thus, Fields’s current parole eligibility date does not take into account the 329 days that he spent in presen-tence confinement.
Fields has attempted to seek redress from the courts for the DOC’s refusal to grant him credit for the period of his presentence confinement on several occasions. First, he filed a pro se motion for reduction of sentence under Crim. P. 35(b) in the Arapahoe County District Court with the same judge who had originally sentenced him. In December 1996, without holding a hearing, the district court denied this motion, ruling that Rule 35 was not the proper vehicle for Fields to attack the calculation of his parole eligibility date. However, the court’s order denying the motion suggested that the substance of Fields’s claim potentially had merit:
If the Department of Corrections has, as [Fields] alleges, computed his initial paroleeligibility without reference to his presen-tenee credit, then the Department is imposing a sentence which violated the statutes of this state and the sentence ordered by this Court.
The court’s order further suggested that Fields’s claim would be reviewable under habeas corpus.
Fields then filed a pro se petition for a writ of habeas corpus in the Arapahoe County District Court. In February 1997, the same district court judge denied this petition on the ground that Fields was not entitled to immediate relief because the date he claimed he should become eligible for parole was more than four years in the future.
Fields then filed a pro se petition for a writ of mandamus in the Arapahoe County District Court. In September 1997, a different district court judge denied the petition for mandamus, ruling that the determination of Fields’s parole eligibility date was completely within the discretion of the DOC.
Two months later, although still not represented by counsel, a lawyer reviewing the order denying Fields’s Rule 35 motion advised Fields that Bent County was the proper venue for the habeas corpus action suggested by the Arapahoe County District Court. Continuing to act pro se, Fields filed a petition for a writ of habeas corpus in the Bent County District Court, the denial of which is the subject of this appeal.
The Bent County District Court did not reach the merits of Fields’s claim that the DOC denied him his statutory entitlement to 329 days of presentence confinement credit. The district court held, on its own motion, that Fields’s petition was premature because, even under Fields’s analysis, he would not be entitled to consideration for parole until 2001 at the earliest. Thus, like the Arapahoe County District Court, the Bent County District Court concluded that the remedy of habeas corpus was unavailable because Fields’s claim was premature. This appeal followed. 5
II. PROCEDURAL POSTURE AND THE UNAVAILABILITY OF HABEAS CORPUS RELIEF
We begin by addressing the procedural aspects of this case. The DOC claims that the district court correctly denied Fields’s petition on the basis that Fields’s claim was premature because he was not entitled to immediate relief. Fields argues that the writ of habeas corpus is broad enough to encompass the relief he seeks. Based on our case law interpreting the writ, we agree with the district court’s conclusion that the petition was premature. However, we exercise our discretion to treat this case as an original proceeding in the nature of mandamus and to reach the merits of Fields’s claim.
A.
The writ of habeas corpus is designed primarily to determine whether a person is being detained unlawfully and therefore should be immediately released from custody.
See Jones v. Zavaras,
In
Naranjo,
this court held that habe-as corpus was available as a remedy to adjudicate a prisoner’s claim that he was being illegally denied consideration for discretionary parole.
See Naranjo,
B.
As a technical procedural matter, this case comes to us for review of the Bent County District Court’s denial of a petition for a writ in the nature of habeas corpus and not for review of the Arapahoe County District Court’s denial of Fields’s petition for a writ in the nature of mandamus. However, we find that a writ in the nature of mandamus is the proper remedy for Fields’s contentions.
See Meredith v. Zavaras,
In order to obtain mandamus relief, Fields must satisfy a three-part test.
See Meredith,
The central issue in this case is whether Colorado law requires the DOC to give Fields 329 days presentence confinement credit towards his ■ parole eligibility date. The resolution of this case thus turns on the harmonization of the statute governing parole eligibility for prisoners serving life sentences with the statute setting forth a prisoner’s entitlement to credit for presentence confinement.
When Fields was sentenced in 1982, the following statute applied to his eligibility for parole:
(b) No inmate imprisoned under a life sentence for a crime committed on or after July 1, 1977, shall be paroled until he has served at least twenty calendar years, and no application for parole shall be made or considered during such period of twenty years.
§ 17-22.5-104(2)(b), 8 C.R.S. (1984 Supp.). Presentence confinement credit was governed by section 16-11-306, 8 C.R.S. (1981 Supp.), which provided:
16-11-306. Credit for presenterice confinement. A person who is confined prior to the imposition of sentence is entitled to credit against the term of his sentence for the entire period of such confinement. At the time of sentencing, the court shall make a finding of the amount of presentence confinement to which the offender is entitled and shall include such finding in the mittimus. Such 'period of confinement shall be deducted from the sentence by the department of corrections.
(Emphasis added.)
Fields asserts that section 16-11-306 requires that he receive 329 days credit towards the twenty calendar years he must serve before being eligible for parole. The DOC takes the position that the twenty calendar years for inmates serving life sentences does not begin to run until the date on which the inmate is actually sentenced to the DOC. Thus, the DOC claims that section 16-11-306 does not apply to inmates serving life sentences.
The DOC relies in part on two Colorado Court of Appeals cases, decided a decade apart, holding that the DOC is not required to take presentence confinement credit into account in calculating parole eligibility dates for inmates serving life sentences.
Sec Derrick v. Colorado Bd. of Parole,
In
Derrick,
the court of appeals was interpreting section 17-22.5-104(2)(a), C.R.S. (1986 Repl.Vol. 8A), which provided that “[n]o inmate imprisoned under a life sentence for a crime committed before July 1, 1977, shall be paroled until he has served at least ten calendar years, and no application for parole shall be made or considered during such period of ten years.”
Derrick,
In
Payseno,
the court of appeals relied heavily on
Derrick
to hold that section 17-22.5-104(2)(b) (one of the two subsections involved in this case) did not permit a credit for presentence confinement towards the twenty calendar years that an inmate sentenced to life imprisonment must serve before being eligible for parole.
See
In sentencing a defendant to imprisonment the sentencing judge shall take into consideration that part of any presentence confinement which the defendant has undergone with respect to the transaction for which he is to be sentenced.
Chapter 44, § 39-11-306(1), 1972 Colo. Sess. Laws 249 (emphasis added). When the
Pay-seno
court concluded that
Derrick
was controlling authority, it failed to take account of this critical change in the presentence confinement credit statute.
See Payseno,
First, sections 17-22.5-104(2)(b) and 16-11-306 are not in conflict. The plain language of section 17-22.5-104(2)(b) does not prohibit a defendant from receiving credit for presentence confinement in calculating the twenty calendar year period; indeed, it makes no mention of presentence confinement. The presentence credit of section 16-11-306 is a day-for-day credit and is as much “calendar” time as is straight time served in the DOC. As we stated in
People v. Freeman,
Second, even if we were to find the term “calendar years” in section 17-22.5-104(2)(b) to be subject to alternative interpretations, the rule of lenity would persuade us to adopt the construction we do today. The rule of lenity “requires us to construe any ambiguities in a penal statute in a manner favoring the person whose liberty interests are affected by the statute.”
Faulkner v. District Court,
Third, again assuming that section 17-22.5-104(2)(b) is ambiguous, we recognize our duty to construe statutes in a way that does not raise constitutional concerns. “[Statutory terms should be construed in a manner that avoids constitutional infirmities. Thus, if a statute is capable of alternative constructions, one of which is constitutional, then the constitutional interpretation must be adopted.”
People v. Zapotocky,
We therefore hold that Fields is entitled to 329 days presentence confinement credit towards his parole eligibility date. We overrule
People v. Payseno,
IV. CONCLUSION
Exercising our original jurisdiction under C.A.R. 21, we make the rule absolute. We issue a writ in the nature of mandamus directing the DOC to recalculate Fields’s parole eligibility date by crediting him with the 329 days that he spent in presentence confinement.
Notes
.While the actual respondent named in the petition is the Executive Director of the DOC, for our purposes we treat the director and the DOC as interchangeable. Moreover, we note that while this case has been pending with this court, by operation of law, John Suthers, the new Executive Director of the DOC, has been substituted as the respondent in this case in place of the former director, Aristedes Zavaras.
See Rather v. Suthers,
. See § 18-3-102, 8 C.R.S. (1978 & 1981 Supp.).
. See § 18-2-101, 8 C.R.S. (1978).
. The trial court also sentenced Fields to twelve years plus one year of parole for each count of attempted first-degree murder, to run concurrently with each other and with Fields’s life sentence.
. Fields does not dispute the DOC’s assertion that he did not appeal the previous denials of his Rule 35 motion and his petitions for writs of habeas corpus and mandamus.
. We do not read our recent opinion in
Rather v. Suthers,
. We give Fields’s pro se petition the benefit of the doubt by reading it broadly to include an allegation that a recalculation of his parole eligibility date may determine his assignments to work and educational opportunities within the DOC at the present time. Even so, such an allegation does not constitute an immediate practical effect on the restraint of Fields or on any of his fundamental rights.
. Fields cites federal authority indicating that the federal writ of habeas corpus is broad enough to entitle him to a hearing on his claims at this time (or at least after he has exhausted his state remedies).
See, e.g., Preiser v. Rodriguez,
. The Arapahoe County District Court order denying Fields’s Rule 35 motion states that Fields "had never been able to post ... bond.” We construe this to mean that Fields was not able to post bond because he could not afford to post bond. The DOC has not argued otherwise and did not respond to Fields's equal protection arguments.
