as qualified disaster distributions for any taxable year shall not exceed the excess (if any) of— (i) $100,000, over (ii) the aggregate amounts treated as qualified disaster distributions received by such individual for all prior taxable years. (B) Treatment of plan distributions If a distribution to an individual would (without regard to subparagraph (A)) be a qualified disaster distribution, a plan shall not be treated as violating any requirement of the Internal Revenue Code of 1986 merely because the plan treats such distribution as a qualified disaster distribution, unless the aggregate amount of such distributions from all plans maintained by the employer (and any member of any controlled group which includes the employer) to such individual exceeds $100,000. (C) Controlled group For purposes of subparagraph (B), the term controlled group means any group treated as a single employer under subsection (b), (c), (m), or (o) of section 414 of the Internal Revenue Code of 1986. (D) Special rule for individuals affected by more than one disaster The limitation of subparagraph (A) shall be applied separately with respect to distributions made with respect to each qualified disaster. (3) Amount distributed may be repaid (A) In general Any individual who receives a qualified disaster distribution may, at any time during the 3-year period beginning on the day after the date on which such distribution was received, make one or more contributions in an aggregate amount not to exceed the amount of such distribution to an eligible retirement plan of which such individual is a beneficiary and to which a rollover contribution of such distribution could be made under section 402(c), 403(a)(4), 403(b)(8), 408(d)(3), or 457(e)(16), of the Internal Revenue Code of 1986, as the case may be. (B) Treatment of repayments of distributions from eligible retirement plans other than IRAs For purposes of the Internal Revenue Code of 1986, if a contribution is made pursuant to subparagraph (A) with respect to a qualified disaster