Opinion by
Defendant, David C. Hays, appeals the sentence imposed following his guilty plea to attempted second degree assault. Specifically, defendant argues that he is entitled to credit for presentence confinement from his arrest on May 8, 1989, to his sentencing on August 17, 1989. We disagree with defendant’s contention and, therefore, affirm.
When arrested, the defendant was on parole. Section 16-11-306, C.R.S. (1990 Cum.Supp.), effective July 1, 1988, provides:
“If a defendant is serving a sentence or is on parole for a previous offense when he commits a new offense and he 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.” (emphasis added)
A statute must be read and considered as a whole in order to ascertain the legislative intent in passing it,
People v. District Court,
The present offense occurred on May 8, 1989, and thus, it is subject to the provisions of § 16-11-306 quoted above. Since defendant was on parole when he committed this offense, he continued to serve the sentence for the previous offense while charges in this offense were pending whether he was in or out of physical confinement.
See People v. Lucero,
Nevertheless, defendant argues that, under
Torand v. People,
Sentence affirmed.
