Opinion of the court by
The defendant-appellant Ropati Tauiliili appeals from the post-judgment order of the first circuit court, the Honorable Victoria S. Marks presiding, partially denying his motion seeking presentence credit for time served. On appeal, Tauiliili claims that the circuit court incorrectly interpreted HRS § 706-671, by failing to credit his 853 days of presentence imprisonment toward each of his three sentences.
We hold that the first circuit court (1) did not abuse its discretion when it partially denied Tauiliili’s motion seeking presentence credit for time served and (2) properly applied Tauiliili’s presentence credit once against the aggregate of his consecutive sentences. Accordingly, we affirm the judgment of the first circuit court.
I. BACKGROUND
On April 28, 1999, Tauiliili pled guilty to the following charges: Count I—assault in the first degree, in violation of Hawaii Revised Statues (HRS) § 707-710 (1993); 1 Count II—place to keep fireаrm in violation of HRS § 134-6(c) and (e) (1993); 2 and Count III-—terroristic threatening in the first degree, in violation of HRS § 707-7-16(1)(d) (1993). 3 The guilty pleas were entered pursuant to a plea agreement with the prosecution.
*197 On June 29, 1999, the circuit court sentenced Tauiliili to 10 years’ indeterminate imprisonment for Count I, 10 years’ indeterminate imрrisonment for Count II, and 5 years’ indeterminate imprisonment for Count III. The circuit court ordered the sentences for Counts I and II to run concurrently and the sentence for Count III to run consecutively to the sentences for Counts I and II. The court also ordered that Tauiliili serve a mandatory minimum of 5 years for Count I and 3 year’s for Count III.
On August 13, 1999, Tauiliili filed a motion seeking an order granting presentence credit for time served. In Ms motion, Tauiliili requested that his 853 days of presentence detention be credited toward each his three sentences, including his consecutive sentence. In support of his motion, Tauiliili claimed that “no law ... declares that presentence credit shall not be given for cases running consecutively” and, therefore, that he was entitled to credit against each sentence.
On August 24, 1999, the circuit court held a hearing on the motion. On November 18, 1999 and November 29, 1999, the court еntered its findings of fact, conclusions of law, and orders granting the motion in part and denying it in part. 4 The court acknowledged that Tauiliili was entitled to credit for pre-sentence detention .time. In interpreting HRS 706-671, however, the court concluded that Tauiliili was not entitled to a presen-tence imрrisonment credit toward each consecutive sentence. The court entered the following conclusions of law:
3. The intention of H.R.S. Section 706-671 would be met if credit for time served is subtracted from the sum of the consecutive sentence in this ease. For example, Defendant’s MAXIMUM TERM should be calculated as:
Count I and II (concurrent) = 10 year maximum
Count III (consecutive) + 5 year maximum
SUM OF SENTENCE = 15 year maximum
Credit for time served - 853 days
MAXIMUM TERM = 12 Yrs 8 Mos
Defendant’s MANDATORY MINIMUM TERM should be calculated as:
Count I a year maximum
Count III (consecutive) + 3 year maximum
SUM OF SENTENCE 8 year maximum
Credit for time sewed - 853 days
MANDATORY MINIMUM TERM = 5 Yrs 8 Mos
The circuit court also determined that the legislative purpose of HRS § 706-671 is to “put a defendant who has been incarcerated presentence in the same position that a defendant would be in if he were not incarcerated presentence.” The cоurt further concluded that the credit for time served had been applied to all offenses, thereby placing Tauailiili in the same position as he would have been had he been sentenced the day he was taken into custody.
II. STANDARDS OF REVIEW
A. Statutory Interpretation
“[T]he interpretation of a statute is a question of law reviеwable
de novo.” State v. Wang,
When construing a statute, our foremost obligation is to ascertain and give effect to the intention of the legislature, which is to be obtained primarily from the language contained in the statute itself. And we must read statutory language in the context of the entire statute and construe it in a mаnner consistent with its purpose.
When there is doubt, doubleness of meaning, or indistinctiveness or uncertainty of an expression used in a statute, an ambiguity exists....
In construing an ambiguous statute, “[t]he meaning of the ambiguous words may be sought by examining the context, with which the ambiguous words, phrases, and sentences may be сompared, in order to ascertain them true meaning.” HRS § 1-15(1) [(1983)]. Moreover, the courts may resort to extrinsic aids in determining legislative intent. One avenue is the use of legislative history as an interpretive tool. *198 Gray,84 Hawai'i at 148 ,931 P.2d at 590 (quoting State v. Toyomura,80 Hawai'i 8 , 18-19,904 P.2d 893 , 903-04 (1995)) (brackets and ellipsis points in original) (footnote omitted). This court may also consider “[t]he reason and spirit of the law, and the cause which induced the legislature to enact it ... to discover its true meaning.” HRS § 1-15(2) (1993). “Laws in pari mate-ria, or upon the same subject matter, shall be construed with reference to each other. What is clear in one statute may be called upon in аid to explain what is doubtful in another.” HRS § 1-16 (1993).
Ho v. Leftwich,
B. Sentencing
“[A] sentencing judge generally has broad discretion in imposing a sentence. The applicable standard of review for sentencing or resentencing matters is whether the court committed plain and manifest abusе of discretion in its decision.”
Keawe v. State,
III. DISCUSSION
The issue presented on appeal is whether a criminal defendant is entitlеd to presentence imprisonment credit against each sentence where there are two or more consecutive sentences. In assessing whether the circuit court properly partially denied Tauiliili’s motion seeking presentence credit for time served, we must first consider the statutory language contained in HRS § 706-671 itself. HRS § 706-671 requires the court to apply credit for time served against a defendant’s sentence term. HRS § 706-671 provides in relevant part:
(I) When a defendant who is sentenced to imprisonment has previously been detained in any State or local correctional or other institution following the defendant’s arrest for the crime for which sentence is imposed, such period of detention following the defendant’s arrest shall be deducted from the minimum and maximum terms of such sentence. The officer having custody of the defendant shall furnish a certificate to the coui't at the time of sentence, showing the length of such detention of the defendant prior to sentence in any State or local correctional or other institution, and the certificate shall be annexed to the official records of the defendant’s commitment.
A. Credit for Minimum and Maximum Terms
The statutоry language read in the context of the entire statute requires that presentence credit be applied to both the minimum and maximum imprisonment terms. In computing the terms of imprisonment, the circuit court properly applied Tauiliili’s pre-sentence credit by deducting 853 days from both the minimum and maximum terms of his sentence. In its brief, the prosecution concedes that, pursuant to HRS § 706-671, credit for time served must bq applied against the minimum term, as well as the maximum term of imprisonment.
B. Credit Due on Each of the Consecutive Sentences
Tauiliili, however, claims that the sentencing court abused its discretion by refusing to grant presentence credit for eaсh of his consecutive sentences. In his opening bi'ief, Tauiliili suggests that HRS § 706-671 entitles him to presentence credit with respect to each sentence imposed in connection with Counts I, II, and III. We disagree.
*199
The commentary to HRS § 706-671 states in relevant part that “[t]his section provides for a result which the Code deems fail-” and “provides for some equalization ... between those defendants who obtain pre-sentence release and those who do not.” Statutes giving credit for presentence confinement were designed to ensure equal treatment of all defendants whether or not they are incarcerated prior to conviction.
In re Atiles,
Once credit has been grantеd, no additional purpose is served by granting a second or “double credit” against a later consecutive sentence.
State v. Cuen,
Thus, when concurrent sentences are imposed, presentence credit is applied оnce. The credit applied once, in effect, is applied against each concurrent sentence. This is done because the longest term of the concurrent sentences determines the total length of the imprisonment. However, when consecutive sentences are imposed, credit for presentence imprisonment is properly granted against only the aggregate of the consecutive sentence terms.
In the present case, to allow multiple credit for consecutive sentences would defeat the legislative purpose underlying сonsecutive sentencing. Were this not so, the more consecutive sentences a criminal defendant received, the more credit he would accrue for presentence imprisonment. This would not be the result intended by the legislature, as this construction of the statute would actually penalize those who could afford to post bail and would thus defeat the purpose of “equalization” noted in the commentary to HRS § 706-671 (1993).
HRS § 706-668.5 (1993)
5
permits consecutive sentencing if multiple terms of imprisonment are imposed on a criminal defendant at the same time. The legislative purpose of the statute is to give the sentencing court discretion to sentence a defendant to a term of imprisonment to run either concurrently or consecutively.
State v. Gaylord,
In light of the undеrlying objectives of consecutive sentencing, Tauiliili was not entitled to receive credit on each of his consecutive sentences. Tauiliili’s interpretation of HRS § 706-671 would undermine the sentencing court’s decision to impose consecutive imprisonment terms. We do not believe that thе legislature intended to allow a “double credit” for presentenee confinement without expressly saying so. Accordingly, we hold that the circuit court correctly interpreted HRS § 706-671 by applying Tauiliili’s 853 days of presentence credit only once against the aggregate of his consecutive sentences.
IV. CONCLUSION
For the foregoing reasons, we affirm the judgment of the first circuit court.
Notes
. HRS § 707-710 provides in relevant part that "[a] person commits the offense of assault in the first degree if the person intentionally or knowingly causes serious bodily injury to another person.”
. HRS § 134-6(c) provides that:
(c) Except as provided in sections 134-5 and 134-9, all firearms and ammunition shall be confined to the possessor’s place of business, .residence, or sojourn; provided that it shall be lawful to carry unloaded firearms or ammunition or both in an enclosed container from the place of purchase to the purchаser's place of business, residence, or sojourn, or between these places upon change of place of business, residence, or sojourn, or between these places and the following: a place of repair; a target range; a licensed dealer’s рlace of business; an organized, scheduled firearms show or exhibit; a place of formal hunter or firearm use training or instruction; or a police station. "Enclosed container” means a rigidly constructed receptacle, or a commercially manufactured gun case, or thе equivalent thereof that completely encloses the firearm.
[[Image here]]
(e) Any person violating this section by carrying or possessing a loaded firearm or by carrying or possessing a loaded or unloaded pistol or revolver without a license issued as provided in section 134-9 shall be guilty of a class B felony. Any person violating this section by carrying or possessing an unloaded firearm, other than a pistol or revolver, shall be guilty of a class C felon}'.
.HRS § 707-716(i)(d) provides in relevant part that "[a] person commits the offense of terroristic threatening in the first degree if the person commits terrоristic threatening: (d) with the use of a dangerous instrument.”
. The November 18, 1999 and November 29, 1999 orders appear to be identical.
. HRS § 706-668.5 (1993) provides:
Multiple sentences of imprisonment. (1) If multiple terms of imprisonment are imposed on a defendant at the same time, or if a term of imprisonment is imposed on a defendаnt who is ahead)' subject to an unexpired term of imprisonment, the terms may run concurrently or consecutively. Multiple terms of imprisonment imposed at the same time run concurrently unless the court orders or the statute mandates that the terms run consecutively. Multiple terms of imprisonment imposеd at different times run consecutively unless the court orders that the terms run concurrently. (2) The court, in determining' whether the terms imposed are to be ordered to run concurrently or consecutively, shall consider the factors set forth in section 706-606.
. HRS § 706-606 (1993) provides in relevant part:
Factors to be considered in imposing a sentеnce. The court, in determining the particular sentence to be imposed, shall consider:
(1) The nature and circumstances of the offense and the history and characteristics of the defendant;
(2) The need for the sentence imposed:
(a) To reflect the seriousness of the offense, to promote respect for law, and to provide just punishment for the offense;
(b) To afford adequate deterrence to criminal conduct;
*200 (c) To protect ihe public from further crimes of the defendant; and
(d) To provide the defendant with needed educational or vocational training, medical care, or other correctional treatment in the most effective manner;
(3) The kinds of sentences available; and
(4) The need to avoid unwarranted sentence disparities among defendants with similar records who have been found guilty of similar conduct.
