If the election provided in subparagraph (A) is made by the taxpayer and such other property or such stock was purchased before the beginning of the last taxable year in which any part of the gain upon such conversion is realized, any deficiency, to the extent resulting from such election, for any taxable year ending before such last taxable year may be assessed (notwithstanding the provisions of section 6212(c) or 6501 or the provisions of any other law or rule of law which would otherwise prevent such assessment) at any time before the expiration of the period within which a deficiency for such last taxable year may be assessed.
In the case of property purchased by the taxpayer in a transaction described in subsection (a)(2) which resulted in the nonrecognition of any part of the gain realized as the result of a compulsory or involuntary conversion, the basis shall be the cost of such property decreased in the amount of the gain not so recognized; and if the property purchased consists of more than 1 piece of property, the basis determined under this sentence shall be allocated to the purchased properties in proportion to their respective costs.
Subparagraph (A) shall not apply to the extent that it would (but for this subparagraph) require a reduction in the aggregate adjusted bases of the property of the corporation below the taxpayer’s adjusted basis of the stock in the corporation (determined immediately after such basis is decreased under paragraph (2)).
For purposes of this subtitle, if livestock are destroyed by or on account of disease, or are sold or exchanged because of disease, such destruction or such sale or exchange shall be treated as an involuntary conversion to which this section applies.
For purposes of this subtitle, the sale or exchange of livestock (other than poultry) held by a taxpayer for draft, breeding, or dairy purposes in excess of the number the taxpayer would sell if he followed his usual business practices shall be treated as an involuntary conversion to which this section applies if such livestock are sold or exchanged by the taxpayer solely on account of drought, flood, or other weather-related conditions.
In the case of drought, flood, or other weather-related conditions described in paragraph (1) which result in the area being designated as eligible for assistance by the Federal Government, subsection (a)(2)(B) shall be applied with respect to any converted property by substituting “4 years” for “2 years”.
The Secretary may extend on a regional basis the period for replacement under this section (after the application of subparagraph (A)) for such additional time as the Secretary determines appropriate if the weather-related conditions which resulted in such application continue for more than 3 years.
For purposes of subsection (a), if, because of drought, flood, or other weather-related conditions, or soil contamination or other environmental contamination, it is not feasible for the taxpayer to reinvest the proceeds from compulsorily or involuntarily converted livestock in property similar or related in use to the livestock so converted, other property (including real property in the case of soil contamination or other environmental contamination) used for farming purposes shall be treated as property similar or related in service or use to the livestock so converted.
For purposes of subsection (a), if real property (not including stock in trade or other property held primarily for sale) held for productive use in trade or business or for investment is (as the result of its seizure, requisition, or condemnation, or threat or imminence thereof) compulsorily or involuntarily converted, property of a like kind to be held either for productive use in trade or business or for investment shall be treated as property similar or related in service or use to the property so converted.
A taxpayer may elect, at such time and in such manner as the Secretary may prescribe, to treat property which constitutes an outdoor advertising display as real property for purposes of this chapter. The election provided by this subparagraph may not be made with respect to any property with respect to which an election under section 179(a) (relating to election to expense certain depreciable business assets) is in effect.
For purposes of this paragraph, the term “outdoor advertising display” means a rigidly assembled sign, display, or device permanently affixed to the ground or permanently attached to a building or other inherently permanent structure constituting, or used for the display of, a commercial or other advertisement to the public.
For purposes of this subsection, an interest in real property purchased as replacement property for a compulsorily or involuntarily converted outdoor advertising display defined in subparagraph (C) (and treated by the taxpayer as real property) shall be considered property of a like kind as the property converted without regard to whether the taxpayer’s interest in the replacement property is the same kind of interest the taxpayer held in the converted property.
If a taxpayer’s property held for productive use in a trade or business or for investment is located in a disaster area and is compulsorily or involuntarily converted as a result of a federally declared disaster, tangible property of a type held for productive use in a trade or business shall be treated for purposes of subsection (a) as property similar or related in service or use to the property so converted.
If the property which is involuntarily converted is held by a taxpayer to which this subsection applies, subsection (a) shall not apply if the replacement property or stock is acquired from a related person. The preceding sentence shall not apply to the extent that the related person acquired the replacement property or stock from an unrelated person during the period applicable under subsection (a)(2)(B).
For purposes of this subtitle, if property is sold or otherwise transferred to the Federal Government, a State or local government, or an Indian tribal government to implement hazard mitigation under the Robert T. Stafford Disaster Relief and Emergency Assistance Act (as in effect on the date of the enactment of this subsection) or the National Flood Insurance Act (as in effect on such date), such sale or transfer shall be treated as an involuntary conversion to which this section applies.