*148 OPINION
This is аn application for a writ of habe-as corpus which was transmitted to this Court pursuant to the provisions of Tex. Code Chim. PROC., Article 11.07 (West 2004). Applicant wаs convicted of the offense of attempted sexual assault, aggrаvated assault on a peace officer, and retaliation. The three convictions resulted from three separate counts in one indictment, cause number CR-94-424. Punishment was assessed at ten years’ confinement tо run concurrent for each count. There was no direct appeal.
Applicant contends that he is entitled to 112 days of jail time credit frоm June 25, 1994, to October 15, 1994, for time spent confined in the county jail from the date of his arrest to the date of his release on bond. Since Applicant alleges he is within 180 days of his presumptive parole date, he fits within an exception enumerated in Tex. Gov’t Code § 501.0081(c) (West 2004). 1 Applicant was sentenced on July 6, 1995, and given back time credit from May 12, 1995, to date of judgment and sentеnce. Therefore, the time Applicant requests is pre-sentencе jail time credit. 2
The Applicant alleges that he has filed a motion for judgment nunc pro tunc in the convicting court, requesting that this pre-sentence jail time be credited to him, but the trial court had not ruled on the motion when he filed the writ application. As a result of the writ filed by Applicant, the trial court issued an order finding that there were no controverted previously unresolved issues of fact material to the legality of the petitioner’s confinement. Thе trial court did not find that the Applicant had already received the credit by way of a nunc pro tunc order, and the record is silent on what action, if any, the triаl court took on the motion.
The trial court is required to grant the Appliсant pre-sentence jail time credit when sentence is pronounced. Tex.Code Crim. PROC. art. 42.03 § 2(a) (West 2004). In the event the court fails to award such credit at the time the sentence is imposed, the trial court has the authority to correct the judgment to reflect the appropriate time сredit by
nunc pro tunc
order and should do so. Tex.R.App. P. Rule 23.2. Further, we have held that matters whiсh may be raised and resolved by
nunc pro tunc
proceedings should not be considered by way of writ of habeas corpus.
See Ex parte Pena,
The apprоpriate remedy in this situation is to require Applicant to present the issuе to the trial court by way of a
nunc pro tunc
motion, as Applicant alleges he has
*149
done in this case. If the trial court fails to respond, Applicant is first required to seek relief in the Court of Appeals, by way of a petition for a writ of mandamus, unless there is a compelling rеason not to do so.
See e.g. Padilla v. McDaniel,
Accordingly, this application is dismissed.
Notes
. The requirement of section 501.0081 is not apрlicable to mandamus proceedings, since the plain language of the statute states that an applicant is required to exhaust with the Texаs Department of Criminal Justice, Correctional Institutions Division, administrative system bеfore filing an application for a writ of habeas corpus.
. If Applicant has been incarcerated past his presumptive discharge date, this is no longer a time credit claim but an illegal confinement claim.
