§ 1254. Gain from disposition of interest in oil, gas, geothermal, or other mineral properties
(a)
General rule
(1)
Ordinary income
If any section
1254 property is disposed of, the lesser of—
(A)
the aggregate amount of—
(i)
expenditures which have been deducted by the taxpayer or any person under section
263,
616, or
617 with respect to such property and which, but for such deduction, would have been included in the adjusted basis of such property, and
(ii)
the deductions for depletion under section
611 which reduced the adjusted basis of such property, or
(2)
Disposition of portion of property
For purposes of paragraph (1)—
(A)
In the case of the disposition of a portion of section
1254 property (other than an undivided interest), the entire amount of the aggregate expenditures or deductions described in paragraph (1)(A) with respect to such property shall be treated as allocable to such portion to the extent of the amount of the gain to which paragraph (1) applies.
(B)
In the case of the disposition of an undivided interest in a section
1254 property (or a portion thereof), a proportionate part of the expenditures or deductions described in paragraph (1)(A) with respect to such property shall be treated as allocable to such undivided interest to the extent of the amount of the gain to which paragraph (1) applies.
This paragraph shall not apply to any expenditures to the extent the taxpayer establishes to the satisfaction of the Secretary that such expenditures do not relate to the portion (or interest therein) disposed of.
(3)
Section
1254 property
(B)
the adjusted basis of such property includes adjustments for deductions for depletion under section
611.
(b)
Special rules under regulations
Under regulations prescribed by the Secretary—
(1)
rules similar to the rule of subsection (g) of section
617 and to the rules of subsections (b) and (c) of section
1245 shall be applied for purposes of this section; and
(2)
in the case of the sale or exchange of stock in an S corporation, rules similar to the rules of section
751 shall be applied to that portion of the excess of the amount realized over the adjusted basis of the stock which is attributable to expenditures referred to in subsection (a)(1)(A) of this section.