is amended by adding at the end the following new subsection: (h) Termination for oil, natural gas, and coal companies This section shall not apply to any taxpayer that is in the trade or business of the production, refining, processing, transportation, or distribution of oil, natural gas, or coal for any taxable year beginning after the date of enactment of this subsection. . (c) Effective date The amendments made by this section shall apply to taxable years beginning after the date of enactment of this Act. 517. Repeal of percentage depletion for coal and hard mineral fossil fuels (a) In general Section 613 of the Internal Revenue Code of 1986 is amended by adding at the end the following new subsection: (f) Termination with respect to coal and hard mineral fossil fuels In the case of coal, lignite, and oil shale (other than oil shale described in subsection (b)(5)), the allowance for depletion shall be computed without reference to this section for any taxable year beginning after the date of the enactment of this subsection. . (b) Conforming amendments (1) Coal and lignite Section 613(b)(4) of the Internal Revenue Code of 1986 is amended by striking coal, lignite, . (2) Oil shale Section 613(b)(2) of such Code is amended to read as follows: (2) 15 percent If, from deposits in the United States, gold, silver, copper, and iron ore. . (c) Effective date The amendments made by this section shall apply to taxable years beginning after the date of the enactment of this Act. 518. Termination of capital gains treatment for royalties from coal (a) In general Subsection (c) of section 631 of the Internal Revenue Code of 1986 is amended— (1) by striking coal (including lignite), or iron ore and inserting iron ore , (2) by striking coal or iron ore each place it appears and inserting iron ore , (3) by striking iron ore or coal each place it appears and inserting iron ore , and (4) by striking coal or in the heading. (b) Conforming amendment The heading of section 631 of the Internal Revenue Code of 1986 is amended by