*1078INTRODUCTION
The People charged Joseph Billingsley with two counts of assault with a firearm and alleged in connection with both counts Billingsley personally used a firearm within the meaning of Penal Code section 12022.5, subdivision (a).
The jury convicted Billingsley on all counts and found all allegations true except the allegation Billingsley attempted to murder James willfully, deliberately, and with premeditation. The trial court declared a mistrial on that allegation.
The trial court imposed the lower term of five years for the attempted murder conviction, doubled under the three strikes law, plus five years for the prior serious felony conviction under section 667, subdivision (a)(1), and 20 years for the firearm enhancement under section 12022.53, subdivision (c). The court imposed a consecutive term of two years for one of the convictions for assault with a firearm (one-third the middle term of three years, doubled), plus one year four months for the firearm enhancement under section 12022.5, subdivision (a), on that count. The court stayed imposition of the sentences on the remaining counts, including for the second firearm enhancement under section 12022.5, subdivision (a). Billingsley's aggregate sentence was 38 years four months.
Billingsley contends the trial court erred by failing to instruct the jury on self-defense and imperfect self-defense and by denying his request for a trial continuance to locate a witness. In a supplemental brief, Billingsley argues we should remand for resentencing to allow the trial court to exercise discretion to strike the firearm enhancements under the recent amendments to sections 12022.5 and 12022.53.
*1079In the unpublished portion of this opinion, we affirm the conviction. In the published portion, we remand for the trial court to hold a new sentencing hearing under the amended statutes.
FACTUAL BACKGROUND
C. Billingsley Is Entitled to a New Sentencing Hearing
When the trial court sentenced Billingsley, former section 12022.5, subdivision (c), and former section 12022.53, subdivision (h), prohibited the court from striking those enhancements, and section 12022.53, subdivision (f), required the court to impose the enhancement under that statute with the longest term.
The Legislature amended section 12022.5, subdivision (c), and section 12022.53, subdivision (h), effective January 1, 2018, to give the trial court discretion to strike, in the interest of justice, a firearm enhancement imposed *1080under those two *280statutes.
In a supplemental brief, Billingsley argues he is entitled to a new sentencing hearing to give the trial court an opportunity to exercise discretion to strike the firearm enhancements under sections 12022.5 and 12022.53. The People argue Billingsley is not entitled to a new sentencing hearing because the trial court indicated it would not have stricken any firearm enhancement even if it had discretion to do so. Billingsley has the better argument.
1. Relevant Proceedings
At the sentencing hearing counsel for Billingsley asked the court to stay the 20-year enhancement under section 12022.53, subdivision (c). The trial court accurately observed that, at the time, the court did not have discretion to strike or stay that firearm enhancement. The court explained: "My understanding of [ section] 12022.53, specifically [subdivision] (h), is the court has no such authority, and, quite frankly, this is not the kind of case I would stay the gun allegation. I have no say as to the actual penalty for that particular allegation. It's set at 20 years, but as far as staying or striking the allegation, the court does not have authority to do so, nor would it do so under the circumstances of this case."
Counsel for Billingsley then asked the court to allow Billingsley to serve the 20-year enhancement concurrently with his sentence for attempted murder. The court impliedly rejected that request, stating that "unfortunately, obviously, the consequences are severe in this case." The court noted that Billingsley shot eight times in the direction of three or four people and that the evidence supported the inference that a bullet fragment or some other object propelled by gunfire struck James. The court summarized the facts of the case and described them as "tragic" and "unfortunate, in many ways, for Mr. Billingsley." The court then imposed a term of 20 years for the enhancement under section 12022.53, subdivision (c).
*10812. The Trial Court Did Not Clearly Indicate It Would Not Have Exercised Its Discretion To Strike the Firearm Enhancements
The People, citing People v. Gutierrez (1996)
Moreover, although the court suggested it would not have stricken the firearm enhancement under section 12022.53, subdivision (c), even if it had that discretion, the court was not aware of the full scope of the discretion it now has under the amended statute. " 'Defendants are entitled to sentencing decisions made in the exercise of the "informed discretion" of the sentencing court. [Citations.] A court which is unaware of the scope of its discretionary powers can no more exercise that "informed discretion" than one whose sentence is or may have been based on misinformation regarding a material aspect of a defendant's record.' " ( People v. Gutierrez (2014)
*1082When the trial court sentenced Billingsley, section 12022.53, subdivisions (f) and (h), prohibited the court from striking the firearm enhancements under section 12022.53, and required the court to impose the 20-year enhancement under subdivision (c). (See People v. Gonzalez , supra , 43 Cal.4th at pp. 1122-1123,
DISPOSITION
The judgment of conviction is affirmed. The sentence is vacated. The matter is remanded for the limited purpose of allowing the trial court to exercise its discretion under sections 12022.5, subdivision (c), and 12022.53, subdivision (h).
We concur:
PERLUSS, P.J.
ZELON, J.
Statutory references are to the Penal Code.
See footnote *, ante .
Section 12022.53, subdivision (f), provides: "If more than one enhancement per person is found true under this section, the court shall impose upon that person the enhancement that provides the longest term of imprisonment."
Section 12022.5, subdivision (c), and section 12022.53, subdivision (h), now both provide: "The court may, in the interest of justice pursuant to Section 1385 and at the time of sentencing, strike or dismiss an enhancement otherwise required to be imposed by this section."
