When an enhancement fact relates to an offense charged in the accusatory instrument, the court shall submit the enhancement fact to the jury during the trial phase of the criminal proceeding unless the defendant:
Defers trial of the enhancement fact under subsection (4) of this section; or
Makes a written waiver of the right to a jury trial on the enhancement fact and:
Admits to the enhancement fact; or
Elects to have the enhancement fact tried to the court.
If the defendant makes the election under subsection (1)(b)(B) of this section and is found guilty during the trial phase of the criminal proceeding, the enhancement fact shall be tried during the sentencing phase of the proceeding.
If there is more than one enhancement fact relating to the offense and the defendant does not admit to all of them, the defendant shall elect to try to the jury or to the court all enhancement facts relating to the offense to which the defendant does not admit.
If the court finds that trying an enhancement fact relating to the offense during the trial phase of the criminal proceeding would unfairly prejudice the jury’s verdict on an underlying offense, the court shall allow the defendant to defer trial of the enhancement fact to the sentencing phase of the proceeding without waiving the right to a jury trial on the enhancement fact.
If two or more defendants are being tried in the same criminal proceeding, each defendant shall make the elections required by this section. [2005 c.463 §3]Note: See note under 136.765 (Notice to defendant).