; and (B) (i) has time credits applied toward time in prerelease custody or supervised release pursuant to section 3632(d)(4)(C) of title 18, United States Code; (ii) on or after the effective date of the amendments made by section 102(b) of the First Step Act of 2018 ( Public Law 115–391 ; 132 Stat. 5210), receives credit toward the service of the sentence of the individual under section 3624(b)(1) of title 18, United States Code; (iii) is placed in prerelease custody or supervised release under section 3624(g) of title 18, United States Code; (iv) on or after December 21, 2018— (I) commits a violation of section 401(b)(1) of the Controlled Substances Act ( 21 U.S.C. 841(b)(1) ) or section 1010(b) of the Controlled Substances Import and Export Act ( 21 U.S.C. 906(b) ) after a prior conviction for a serious drug felony or serious violent felony, as those terms are defined in section 102 of the Controlled Substances Act ( 21 U.S.C. 802 ); and (II) is sentenced for a violation described in subclause (I); (v) is sentenced pursuant to section 3553(f) of title 18, United States Code, for a conviction entered on or after December 21, 2018; (vi) is sentenced pursuant to section 924(c)(1)(C) of title 18, United States Code, for an offense— (I) committed before December 21, 2018; and (II) for which a sentence was not imposed before December 21, 2018; (vii) receives a reduced sentence under section 404 of the First Step Act of 2018 ( Public Law 115–391 ; 132 Stat. 5222); (viii) (I) is an eligible elderly offender, as defined in section 231(g)(5) of the Second Chance Act of 2007 ( 34 U.S.C. 60541(g)(5) ); and (II) is placed in home detention pursuant to section 231(g) of the Second Chance Act of 2007 ( 34 U.S.C. 60541(g) ); or (ix) receives a reduced term of imprisonment upon motion of the individual under section 3582(c)(1)(A) of title 18, United States Code. (2) Election The term election means— (A) a general, special, primary, or runoff election