oil-related income described in subsection (a)(4). , (II) in paragraph (5), by striking and the foreign base company services income and inserting the foreign base company services income, and the foreign base company oil related income , and (III) by adding at the end the following new paragraph: (6) Foreign base company oil related income not treated as another kind of base company income Income of a corporation which is foreign base company oil related income shall not be considered foreign base company income of such corporation under paragraph (2) or (3) of subsection (a). . (D) Effective date The amendments made by this paragraph shall apply to taxable years of foreign corporations beginning after the date of the enactment of this Act, and to taxable years of United States shareholders with or within which such taxable years of foreign corporations end. (13) Inclusion of foreign oil and gas extraction income in tested income for purpose of determining global intangible low-taxed income (A) In general Section 951A(c)(2)(A)(i) is amended by inserting and at the end of subclause (III), by striking and at the end of subclause (IV) and inserting over , and by striking subclause (V). (B) Effective date The amendments made by this paragraph shall apply to taxable years of foreign corporations beginning after the date of the enactment of this Act, and to taxable years of United States shareholders in which or with which such tax years of foreign corporations end. (14) Repeal of corporate income tax exemption for publicly traded partnerships with qualifying income and gains from activities relating to fossil fuels (A) In general Section 7704(d)(1) is amended— (i) in subparagraph (E), by striking (including pipelines transporting gas, oil, or products thereof) , and (ii) in the flush matter at the end, by inserting or any coal, gas, oil, or products thereof before the period. (B) Effective date The amendments made by this paragraph shall apply to taxable years beginning after the date of the enactment of this Act.