computation year
(1) Foreign tax deemed paid by beneficiary (A) In general In determining the increase in tax under subsection (b)(1)(D) for any computation year, the taxes described in section 665(d)(2) which are deemed distributed under section 666(b) or (c) and added under subsection (b)(1)(C) to the taxable income of the beneficiary for any computation year shall, except as provided in subparagraphs (B) and (C), be treated as a credit against the increase in tax for such computation year under subsection (b)(1)(D). (B) Deduction in lieu of credit If the beneficiary did not choose the benefits of subpart A of part III of subchapter N with respect to the computation year, the beneficiary may in lieu of treating the amounts described in subparagraph (A) (without regard to subparagraph (C)) as a credit may treat such amounts as a deduction in computing the beneficiary’s taxable income under subsection (b)(1)(C) for the computation year. (C) Limitation on credit; retention of character (i) Limitation on credit For purposes of determining under subparagraph (A) the amount treated as a credit for any computation year, the limitations under subpart A of part III of subchapter N shall be applied separately with respect to amounts added under subsection (b)(1)(C) to the taxable income of the beneficiary for such computation year. For purposes of computing the increase in tax under subsection (b)(1)(D) for any computation year for which the beneficiary did not choose the benefits of subpart A of part III of subchapter N, the beneficiary shall be treated as having chosen such benefits for such computation year. (ii) Retention of character The items of income, deduction, and credit of the Trust shall retain their character (subject to the application of section 904(f)(5) ) to the extent necessary to apply this paragraph. (D) Computation year For purposes of this paragraph, the term “computation year” means any of the three taxable years remaining after application of subsection (b)(1)(B).