Opinion by
JUDGE LICHTENSTEIN{1 Defendant, Gesere Q. Henry, appeals his sentence, arguing that the district court erred in denying him any, presentence confinement credit (PSCC). Because we conclude that the court misapprehended its authority under the PSCC statute, we reverse that portion of defendant's sentence and remand for the court to amend the mittimus as directed in this opinion.
I. Background
2 While on mandatory parole in another case, defendant was charged with numerous offenses in this case. He later pleaded guilty to an added count of attempted sexual assault on a child in exchange for the dismissal of the original charges against him and a maximum sentence of three years in the Department of Corrections (DOC), to be served concurrently with his sentence in the parole case.
1 3 The district court sentenced defendant according to the agreement, but denied his request for 897 days of PSCC for the time he had spent in jail between the date of his arrest and the date of sentencing. The court concluded that, based on its understanding of the PSCC statute, defendant was "not entitled to any presentence confinement credit" because he was on parole when he committed his offense. The court further stated that, even if it granted defendant PSCC, "the [DOC] would be required to just apply that presentence confinement credit to [his parole case]." Consequently, the court did not in-elude any PSCC on the mittimus. Defendant now appeals that ruling.
IL - Standard of Review
14 Because defendant's appeal raises an issue of statutory interpretation, we review de novo the court's ruling concerning PSCC. See People v. Carrillo, 2018 COA 8, T9, 297 P.3d 1028, 1080. Our primary purpose when interpreting a statute is to ascertain and give effect to the legislature's intent. Id. at T 10.
III; PSCC Statute -
. 115 The PSCC istatutq states in relevant part:
A person who is confined for an offense prior to the imposition of sentence for said offense is entitled to credit against the term of his or her 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. The period of confinement shall be deducted from the sentence by the department of corrections.. If a defendant is serving a sentence or is on parole for a previous offense when he or she commits a new offense and he or she continues to serve the sentence for the previous offense while charges on the new offense are pending, the credit given for presentence confinement under this section shall be granted against the sentence the defendant is currently serving for the previous offense and shall not be granted against the sentence for the new offense. M
§ 18-1,8-405, C. R.S. 2012
16 As we explain more fully below, there are two components to this statute. The first component grants: the district court the authority to determine whether, and how much, PSCC a defendant should receive," while the second component grants the DOC the authority to determine how such eredits are applied.
A. Entitlement to PSCC
17 We initially conclude that the district court erred in concluding that defendant was not entitled to any PSCC.
18 Our supreme court has concluded that a district court's only responsibility under the PSCC statute is to make a finding of the amount of PSCC, if any, to which a defendant is entitled, and to enter that amount on the mittimus. See Edwards v. People, 196 P.8d 1188, 1144 (Colo. 2008). In deciding whether a defendant is entitled to credit for a particular period of presentence *1086confinement, the court must consider whether the charge or conduct for which the defendant is to be sentenced was the actual cause of the confinement. Schubert v. People, 698 P.2d 788, 795 (Colo. 1985); People v. Roy, 252 P.3d 24, 28 (Colo. App. 2010).
T9 Here, there is no dispute that defendant's confinement from the date of his arrest (February 8, 2011) to the date of his sentencing (March 5, 2012) was actually caused by the charges filed in this case.
{10 Therefore, the district court erred both in concluding that defendant was not entitled to PSCC credit and in failing 'to iriclude such credit in the mittimus. _
B. Application of PSCC
11 We further conclude that the court erred in partially basing its decision to deny defendant PSCC on how it thought the DOC was required to apply that credit.
112 As noted, a sentencing eourt has no discretion to deny, PSCC to which a defendant is entitled; its role is to determine the amount, and enter it on the mittimus. Edwards, 196 P.3d at 1144, . It is the DOC's, not the district court's, responsibility to apply PSCC. § 181.3-405; Edwards, 196 P.3d at 1144. It is also the DOC's responsibility to determine to which sentence or sentences it will apply such credit. People v. Ostunri 58 P.3d 581, 584 (Colo. 2002) ("While the responsibility for allocating [PSCC] among new and previous offenses is not expressly assigned to the [DOC], ... this is the clear inference to be drawn from both the nature and location of the specific limitation [in the statute's last sentence].").
' {13 Consequently, we conclude that the court erred in' considering how the DOC would apply any PSCC awarded to defendant in deciding whether defendant was entitled to such eredit. Thus, we direct the court on remand to amend the mittimus to reflect 897 days of PSCC.
1 14 Because defendant's parole case is not before us, we express no opinion concerning his sentence in that case.
15 The sentence is reversed in part, and the case is remanded for amendment of the mittimus as directed in this opinion.
JUDGE CASEBOLT and JUDGE DUNN concur.