Petitioner, Jerry Franklin Brinklow, appeals an order of the Teller County District Court dismissing his petition for writ of mandamus and prohibition. 1 The petitioner seeks an order discharging him from a sentence he received from that court and ordering his release from any further confinement on that sentence. The basis of his claim is that two orders of the Denver District Court applied to the Teller County sentence. The trial court dismissed the petition, holding that the Denver District Court orders had no application to the sentence from Teller County. We affirm.
I.
The issues in this case can best be clarified by a brief statement of the undisputed facts. On August 23, 1976, the petitioner was sentenced to a term of not less than ten years or more than twelve years by the Denver District Court. The court ordered that “[t]ime spent incarcerated on a Federal sentence be credited to sentence imposed this day by this court.” The federal sentence to which reference was made had been imposed on May 14, 1976, and consisted of two sentences, one for seven years and one for four years, to run consecutively-
On August 25, 1976, the petitioner received a sentence in the Teller County District Court of not less than one day or more than ten years, to run concurrently with the sentence imposed by the Denver District Court.
*519 On May 24, 1982, the Denver District Court found that petitioner’s August 23, 1976 sentence had been fully served and ordered his discharge from custody of the Department of Corrections (Department) and his release from the penitentiary. On June 7,1982, petitioner’s Teller County sentence was changed to an indeterminate to ten-year sentence, and, on August 26,1982, he was paroled on that sentence for a period not to extend beyond August 22, 1986.
On June 25, 1985, while still on parole, the petitioner was sentenced by the Adams County District Court for a term of two years and one day following his conviction on a class 5 felony. He was given credit for 68 days’ presentence confinement and the sentence was ordered to be served consecutively to any sentence he was currently serving. Following his plea in the Adams County case, but before sentencing, the petitioner’s parole was revoked and he was ordered returned to the Department.
In October 1985, the petitioner filed a petition for writ of mandamus and prohibition in the Teller County District Court. The thrust of his petition is that when the Denver District Court entered its May 1982 order decreeing that the Denver sentence was fully served, the Teller County sentence was also terminated because the sentences were to run concurrently. The petitioner contends that since the Teller County sentence was terminated in May 1982, he was illegally held on the Teller County sentence until his parole in August 1982. He also claims that he was illegally confined pursuant to the parole revocation from June to December 1985. 2 He further contends that subsequent to the latter date, the sentence from Adams County has been “clouded” because the Department refuses to acknowledge the discharge of the sentence from Teller County.
By way of relief, the petitioner requests that the Teller County sentence be discharged; the Department be prohibited from “clouding” issues of time computation for release; and the Department be ordered to pay him $250 for each day of illegal incarceration.
The respondents moved to dismiss on the grounds that the court lacked subject matter jurisdiction and that the petitioner failed to state a claim upon which relief can be granted. In granting the motion, the court stated:
The basic premise of Petitioner’s argument is that the order entered by Judge Plank of Denver on May 24, 1982 applied to the sentence imposed in Teller County by Judge Rhodes. Petitioner also contends that because Judge MacNamara in Denver credited the Petitioner with all time served on the Federal sentence that he is entitled to that same credit as to his sentence in Teller County in Case 2741. Both of these positions are erroneous under the law. While it is true that the sentence from Teller County ran concurrently with the Denver sentence from the date the Teller County sentence was imposed, 8-25-76, to the date that the Denver sentence was ordered discharged, 5-24-82, the order of the Denver District Court that Mr. Brinklow had fully served his sentence and that he should be immediately discharged has no application to the sentence from Teller County which must be considered separately according to its own terms. The sentence from Teller County also does not include the language of the Denver sentence that, “Time spent incarcerated on a Federal sentence be credited to sentence imposed this day by this Court.”
Again, the Motion to Dismiss must be granted for these reasons. Petitioner is simply mistaken as to his interpretation of the concurrent sentence imposed in Teller County and the effect upon it by the orders entered in Denver with which it was concurrent.
Shortly after filing a notice of appeal, the petitioner requested the court of appeals to appoint legal counsel to represent him on appeal. The court of appeals ordered the
*520
case remanded to the trial court for the limited purpose of considering petitioner’s request. In denying the motion, the trial court stated that it did not believe
Denbow v. District Court,
II.
Simply stated, the question which we must resolve is whether the Teller County sentence, which was ordered to run concurrently with the Denver sentence, terminated when the Denver County sentence was terminated.
A sentencing court has discretion to impose a sentence to be served concurrently with a sentence already imposed upon a defendant.
People v. Edwards,
Petitioner contends that the Denver sentence is the controlling sentence and since that sentence was terminated, there was no longer any term with which the Teller County sentence could run concurrently. However, concurrent sentences do not necessarily begin and end at the samé time. “Where sentences imposed at different times or for different periods of time run concurrently, the sentences run together during the time that the periods overlap; and the new or longer term does not necessarily terminate at the same time as the prior or shorter term.” 24B C.J.S.
Criminal Law
§ 1996(1) (1962).
See Gerberding v. United States,
Here, it was beyond the power of the Denver District Court to affect the Teller County sentence by terminating the Denver sentence. Petitioner was serving separate sentences which were not interdependent. Although he was allowed credit on the second sentence for the time he was confined under the first sentence, termination of his first sentence had no effect on the unserved portion of his second sentence.
See People v. Lewis,
Petitioner also asserts that the trial court erred in not granting credit against his Teller County sentence for the time that he spent in federal custody prior to the imposition of the Teller County sentence. He claims that because the Denver District Court credited him with the time he spent in federal custody, and the Teller County sentence was ordered to run concurrently with the Denver sentence, the time credited to one sentence should be credited to any other sentence which runs concurrently. We disagree.
We have held that when concurrent sentences are imposed, credit for presen-tence confinement should be granted
*521
against each concurrent sentence in order to assure the defendant of receiving credit for the full period of presentence confinement against the total term of imprisonment.
Schubert v. People,
Here, the federal sentence was imposed three months before the Teller County sentence and there is no indication that the Teller County charge of second degree burglary contributed to or was related to his federal incarceration. Rather, the petitioner was in federal custody because he was convicted of federal crimes. Therefore, the petitioner is not entitled to have the time spent in federal custody credited to his Teller County sentence.
See People v. Freeman,
III.
Petitioner claims that the trial court erred in denying his motion for appointment of counsel. We disagree.
There is no constitutional right to appointment of counsel in a habeas corpus action. The sixth amendment right to counsel does not apply in habeas corpus actions.
Knaubert v. Goldsmith,
Finally, the equal protection guarantee of “meaningful access” to the courts did not require the trial court to appoint counsel for petitioner. In
Bounds v. Smith,
This court has held that a habeas corpus proceeding is civil in nature, and thus there is no right to appointed counsel.
McGrath v. Tinsley,
Even if we were to treat the petition as a motion for post-conviction relief pursuant to Crim.P. 35(c)(2)(VII), as we did in
White v. Denver District Court,
Accordingly, the judgment is affirmed.
Notes
. Although the petitioner, appearing
pro se,
labeled his petition as one seeking a writ of mandamus or prohibition, he also cited section 13-45-101, 6 C.R.S. (1973), as a jurisdictional basis for his petition. We have elected to treat the petition as one seeking a writ of habeas corpus.
See Riley v. City & County of Denver,
Even if the petitioner had sought relief by a Crim.P. 35(c) motion or if his petition were treated as a Crim.P. 35(c) motion, this court could still exercise jurisdiction on prudential grounds.
See White v. Denver District Court,
. In connection with this claim, petitioner has failed to consider the June 25, 1985 sentence of the Adams County District Court. Even if the Teller County sentence had been discharged as a result of the Denver District Court’s order, petitioner would still have been lawfully confined from June to December 1985, pursuant to the Adams County sentence.
