Petitioner George Saunders, pro se, brings this action in the original jurisdiction of the Court seeking a writ of mandamus. Saunders seeks to compel the Department of Corrections (Respondent) to credit Saunders’ current 5-to-10-year sentence with 2 years, 3 months and 11 days, pursuant to Section 9760 of the Sentencing Code, as amended, 42 Pa.C.S. § 9760. Respondent filed preliminary objections asserting that Saunders is not entitled to credit under Section 9760 and that he hаs failed to petition to the proper court to obtain relief.
Saunders is an inmate currently confined at the State Correctional Institute at Pittsburgh (SCI-Pittsburgh) on a conviction for aggravated assault. In December 1983, Saunders was sentenced to Vk to 3 years of imprisonment for criminal attempt, and in January 1984 he was sentenced to 10 years’ probation for aggravated assault. Both of these sentences were computed from July 18,1983, and they ran concurrently. Saunders was paroled from the criminal attempt sentence after serving 2 years, 3 months and 11 days. Prior to expiration of the 10-year probation sentence for aggravаted assault, Saunders’ probation was revoked, and he was resen-tenced to serve a 5-to-10-year term of imprisonment. Respondent did not grant him a credit against the resentence for the 2 years, 3 months and 11 dаys served on the criminal attempt conviction. Saunders asserts in this mandamus action that he is entitled to such credit.
I
Respondent raises the jurisdictional contention that Saunders inappropriately filed his case in the Commonwealth Court when he should have filed it in the original jurisdiction of the Superior Court.
1
The original jurisdiction of the Superior Court is established in Section 741 of the Judicial Code, 42 Pa.C.S. § 741, which states in part: “The Superior Court shall have no original jurisdiction, except in cases of mandamus and prohibition to courts of inferior jurisdiction where such relief is ancillary to matters within its appellate jurisdiction.... ” The Supreme Court held in
Muniсipal Publications, Inc. v. Court of Common Pleas of Philadelphia County,
In this case Saunders seeks a writ of mandamus to modify Respondent’s computation of Saunders’ dates of confinement; he does not challenge the authority or discretion of the trial court to resentence him upon the revocation of his parole. Therefore, jurisdiction properly lies with the Commonwealth Court pursuant to Section 761(c) of the Judicial Code, as amended, 42 Pa.C.S. § 761(c). Section 761(c) provides in relevant part: “The Commonwealth Court shall have original jurisdiction in cases of mandamus ... to courts of inferior jurisdiction and other *555 government units where such relief is an-ciliary to matters within its appellate jurisdiction.... ”
In
Commonwealth ex rel. Unified Judicial System v. Vartan,
II
Respondent next argues that Saunders’ time spent in custody for criminal attempt cannot be credited toward his aggravated assault charge because the time served was for criminal attempt and not for aggravated assault. Respondent cites Section 9760, which provides in part:
(1) Credit against the maximum term and any minimum term shall be given to the defendant for all time spent in custody as a result of the criminal charge for which a prison sentence is imposed or as a result of the conduct on which such a charge is basеd....
(2) Credit against the maximum term and any minimum term shall be given to the defendant for all time spent in custody under a prior sentence if he is later reprosecuted and resentenced for the same offense or for аnother offense based on the same act or acts....
According to Respondent, Saunders was not “in custody as a result of’ the aggravated assault charge under Section 9760(1) but was only on probation for that conviction while serving time for criminal attempt. Additionally, Respondent contends that pursuant to Section 9760(2), Saunders was not “reprosecuted and resentenced” for aggravated assault, but his probation wаs merely revoked and a 5-to-10-year prison sentence was imposed.
The rule governing probation revocation is provided in Section 9771(b) of the Sentencing Code, 42 Pa.C.S. § 9771(b), which states:
The court may revokе an order of probation upon proof of the violation of specified conditions of the probation. Upon revocation the sentencing alternatives available to the court shall be the same as were available at the time of initial sentencing, due consideration being given to the time spent serving the order of probation.
In
Commonwealth v. Ware,
Saunders cites
Commonwealth v. Williams,
In
Wassell v. Pennsylvania Board of Probation and Parole,
The Court may issue a writ of mandamus to compel the performance of a mandatory duty or a ministerial act only where (1) the petitioner has a clear legal right to enforce the performance of the act, (2) the defendant has a corresponding duty to perform the act and (3) the petitioner has no other adequate or appropriate remedy. Brown. Mandamus will lie where there exists a right on behalf of the party seeking relief in mandamus. Thus a writ of mandamus may be used to compel the Department of Corrections to compute a prisoner’s sentеnce properly. Jones. However, the Court does not believe that Saunders has presented a clear legal right in this Court; in addition, he does have another adequate remedy. Saunders may seek relief from the sentencing court.
In
Jones
the Court concluded that enforcing an original sentencing order, which the trial court later modified, would require granting a precommitment credit in direct contravention of the law, and the Cоurt dismissed the petition for a writ of mandamus. The Court noted, however, that the petitioner was not without recourse because he could seek relief from the sentencing court. Similarly, the Court concludes here that ordering the credit that Saunders seeks would be contrary to the provision of Section 9771(b) of the Sentencing Code absent express case or statutory authority or a direct order from the sentencing сourt granting the credit that Saunders requests.
See Commonwealth v. Byrd,
Saunders may seek relief from the sentencing court if he can show that the court’s intent was to credit Saunders for the period of his confinement after giving due consideration to the time that he served on the concurrent 10-year probation sentence. See-Jones (noting that the sentencing court may afford relief at any time where it has issued an illegal or erroneous sentence); see also Seсtion 9771(b). Accordingly, the preliminary objections filed by Respondent are sustained, and the petition for review filed by Saunders is dismissed.
ORDER
AND NOW, this 5th day of April, 2000, the preliminary objections filed by Respondent Department of Corrections are sus *557 tained, and the petition for review filed by Petitioner George Saunders is dismissed.
Notes
. In its preliminary objections Respondent asserted that the proper court for Saunders to petition would be the sentencing court, with appeal, if necessary, to the Superior Court. In its brief in support of preliminary objections, Respondent argues that Saunders’ claim is better suited to the Superior Court’s original jurisdiction in mandamus.
