§ 170. Charitable, etc., contributions and gifts

(a) Allowance of deduction
(1) General rule
There shall be allowed as a deduction any charitable contribution (as defined in subsection (c)) payment of which is made within the taxable year. A charitable contribution shall be allowable as a deduction only if verified under regulations prescribed by the Secretary.
(2) Corporations on accrual basis
In the case of a corporation reporting its taxable income on the accrual basis, if—
(A) the board of directors authorizes a charitable contribution during any taxable year, and
(B) payment of such contribution is made after the close of such taxable year and on or before the 15th day of the third month following the close of such taxable year,
then the taxpayer may elect to treat such contribution as paid during such taxable year. The election may be made only at the time of the filing of the return for such taxable year, and shall be signified in such manner as the Secretary shall by regulations prescribe.
(3) Future interests in tangible personal property
For purposes of this section, payment of a charitable contribution which consists of a future interest in tangible personal property shall be treated as made only when all intervening interests in, and rights to the actual possession or enjoyment of, the property have expired or are held by persons other than the taxpayer or those standing in a relationship to the taxpayer described in section 267 (b) or 707 (b). For purposes of the preceding sentence, a fixture which is intended to be severed from the real property shall be treated as tangible personal property.
(b) Percentage limitations
(1) Individuals
In the case of an individual, the deduction provided in subsection (a) shall be limited as provided in the succeeding subparagraphs.
(A) General rule
Any charitable contribution to—
(i) a church or a convention or association of churches,
(ii) an educational organization which normally maintains a regular faculty and curriculum and normally has a regularly enrolled body of pupils or students in attendance at the place where its educational activities are regularly carried on,
(iii) an organization the principal purpose or functions of which are the providing of medical or hospital care or medical education or medical research, if the organization is a hospital, or if the organization is a medical research organization directly engaged in the continuous active conduct of medical research in conjunction with a hospital, and during the calendar year in which the contribution is made such organization is committed to spend such contributions for such research before January 1 of the fifth calendar year which begins after the date such contribution is made,
(iv) an organization which normally receives a substantial part of its support (exclusive of income received in the exercise or performance by such organization of its charitable, educational, or other purpose or function constituting the basis for its exemption under section 501 (a)) from the United States or any State or political subdivision thereof or from direct or indirect contributions from the general public, and which is organized and operated exclusively to receive, hold, invest, and administer property and to make expenditures to or for the benefit of a college or university which is an organization referred to in clause (ii) of this subparagraph and which is an agency or instrumentality of a State or political subdivision thereof, or which is owned or operated by a State or political subdivision thereof or by an agency or instrumentality of one or more States or political subdivisions,
(v) a governmental unit referred to in subsection (c)(1),
(vi) an organization referred to in subsection (c)(2) which normally receives a substantial part of its support (exclusive of income received in the exercise or performance by such organization of its charitable, educational, or other purpose or function constituting the basis for its exemption under section 501 (a)) from a governmental unit referred to in subsection (c)(1) or from direct or indirect contributions from the general public,
(vii) a private foundation described in subparagraph (F), or
(viii) an organization described in section 509 (a)(2) or (3),
shall be allowed to the extent that the aggregate of such contributions does not exceed 50 percent of the taxpayer’s contribution base for the taxable year.
(B) Other contributions
Any charitable contribution other than a charitable contribution to which subparagraph (A) applies shall be allowed to the extent that the aggregate of such contributions does not exceed the lesser of—
(i) 30 percent of the taxpayer’s contribution base for the taxable year, or
(ii) the excess of 50 percent of the taxpayer’s contribution base for the taxable year over the amount of charitable contributions allowable under subparagraph (A) (determined without regard to subparagraph (C)).
If the aggregate of such contributions exceeds the limitation of the preceding sentence, such excess shall be treated (in a manner consistent with the rules of subsection (d)(1)) as a charitable contribution (to which subparagraph (A) does not apply) in each of the 5 succeeding taxable years in order of time.
(C) Special limitation with respect to contributions described in subparagraph (A) of certain capital gain property
(i) In the case of charitable contributions described in subparagraph (A) of capital gain property to which subsection (e)(1)(B) does not apply, the total amount of contributions of such property which may be taken into account under subsection (a) for any taxable year shall not exceed 30 percent of the taxpayer’s contribution base for such year. For purposes of this subsection, contributions of capital gain property to which this subparagraph applies shall be taken into account after all other charitable contributions (other than charitable contributions to which subparagraph (D) applies).
(ii) If charitable contributions described in subparagraph (A) of capital gain property to which clause (i) applies exceeds 30 percent of the taxpayer’s contribution base for any taxable year, such excess shall be treated, in a manner consistent with the rules of subsection (d)(1), as a charitable contribution of capital gain property to which clause (i) applies in each of the 5 succeeding taxable years in order of time.
(iii) At the election of the taxpayer (made at such time and in such manner as the Secretary prescribes by regulations), subsection (e)(1) shall apply to all contributions of capital gain property (to which subsection (e)(1)(B) does not otherwise apply) made by the taxpayer during the taxable year. If such an election is made, clauses (i) and (ii) shall not apply to contributions of capital gain property made during the taxable year, and, in applying subsection (d)(1) for such taxable year with respect to contributions of capital gain property made in any prior contribution year for which an election was not made under this clause, such contributions shall be reduced as if subsection (e)(1) had applied to such contributions in the year in which made.
(iv) For purposes of this paragraph, the term “capital gain property” means, with respect to any contribution, any capital asset the sale of which at its fair market value at the time of the contribution would have resulted in gain which would have been long-term capital gain. For purposes of the preceding sentence, any property which is property used in the trade or business (as defined in section 1231 (b)) shall be treated as a capital asset.
(D) Special limitation with respect to contributions of capital gain property to organizations not described in subparagraph (A)
(i) In general In the case of charitable contributions (other than charitable contributions to which subparagraph (A) applies) of capital gain property, the total amount of such contributions of such property taken into account under subsection (a) for any taxable year shall not exceed the lesser of—
(I) 20 percent of the taxpayer’s contribution base for the taxable year, or
(II) the excess of 30 percent of the taxpayer’s contribution base for the taxable year over the amount of the contributions of capital gain property to which subparagraph (C) applies.
 For purposes of this subsection, contributions of capital gain property to which this subparagraph applies shall be taken into account after all other charitable contributions.
(ii) Carryover If the aggregate amount of contributions described in clause (i) exceeds the limitation of clause (i), such excess shall be treated (in a manner consistent with the rules of subsection (d)(1)) as a charitable contribution of capital gain property to which clause (i) applies in each of the 5 succeeding taxable years in order of time.
(E) Contributions of qualified conservation contributions
(i) In general Any qualified conservation contribution (as defined in subsection (h)(1)) shall be allowed to the extent the aggregate of such contributions does not exceed the excess of 50 percent of the taxpayer’s contribution base over the amount of all other charitable contributions allowable under this paragraph.
(ii) Carryover If the aggregate amount of contributions described in clause (i) exceeds the limitation of clause (i), such excess shall be treated (in a manner consistent with the rules of subsection (d)(1)) as a charitable contribution to which clause (i) applies in each of the 15 succeeding years in order of time.
(iii) Coordination with other subparagraphs For purposes of applying this subsection and subsection (d)(1), contributions described in clause (i) shall not be treated as described in subparagraph (A), (B), (C), or (D) and such subparagraphs shall apply without regard to such contributions.
(iv) Special rule for contribution of property used in agriculture or livestock production
(I) In general If the individual is a qualified farmer or rancher for the taxable year for which the contribution is made, clause (i) shall be applied by substituting “100 percent” for “50 percent”.
(II) Exception Subclause (I) shall not apply to any contribution of property made after the date of the enactment of this subparagraph which is used in agriculture or livestock production (or available for such production) unless such contribution is subject to a restriction that such property remain available for such production. This subparagraph shall be applied separately with respect to property to which subclause (I) does not apply by reason of the preceding sentence prior to its application to property to which subclause (I) does apply.
(v) Definition For purposes of clause (iv), the term “qualified farmer or rancher” means a taxpayer whose gross income from the trade or business of farming (within the meaning of section 2032A (e)(5)) is greater than 50 percent of the taxpayer’s gross income for the taxable year.
(vi) Termination This subparagraph shall not apply to any contribution made in taxable years beginning after December 31, 2011.
(F) Certain private foundations
The private foundations referred to in subparagraph (A)(vii) and subsection (e)(1)(B) are—
(i) a private operating foundation (as defined in section 4942 (j)(3)),
(ii) any other private foundation (as defined in section 509 (a)) which, not later than the 15th day of the third month after the close of the foundation’s taxable year in which contributions are received, makes qualifying distributions (as defined in section 4942 (g), without regard to paragraph (3) thereof), which are treated, after the application of section 4942 (g)(3), as distributions out of corpus (in accordance with section 4942 (h)) in an amount equal to 100 percent of such contributions, and with respect to which the taxpayer obtains adequate records or other sufficient evidence from the foundation showing that the foundation made such qualifying distributions, and
(iii) a private foundation all of the contributions to which are pooled in a common fund and which would be described in section 509 (a)(3) but for the right of any substantial contributor (hereafter in this clause called “donor”) or his spouse to designate annually the recipients, from among organizations described in paragraph (1) of section 509(a), of the income attributable to the donor’s contribution to the fund and to direct (by deed or by will) the payment, to an organization described in such paragraph (1), of the corpus in the common fund attributable to the donor’s contribution; but this clause shall apply only if all of the income of the common fund is required to be (and is) distributed to one or more organizations described in such paragraph (1) not later than the 15th day of the third month after the close of the taxable year in which the income is realized by the fund and only if all of the corpus attributable to any donor’s contribution to the fund is required to be (and is) distributed to one or more of such organizations not later than one year after his death or after the death of his surviving spouse if she has the right to designate the recipients of such corpus.
(G) Contribution base defined
For purposes of this section, the term “contribution base” means adjusted gross income (computed without regard to any net operating loss carryback to the taxable year under section 172).
(2) Corporations
In the case of a corporation—
(A) In general
The total deductions under subsection (a) for any taxable year (other than for contributions to which subparagraph (B) applies) shall not exceed 10 percent of the taxpayer’s taxable income.
(B) Qualified conservation contributions by certain corporate farmers and ranchers
(i) In general Any qualified conservation contribution (as defined in subsection (h)(1))—
(I) which is made by a corporation which, for the taxable year during which the contribution is made, is a qualified farmer or rancher (as defined in paragraph (1)(E)(v)) and the stock of which is not readily tradable on an established securities market at any time during such year, and
(II) which, in the case of contributions made after the date of the enactment of this subparagraph, is a contribution of property which is used in agriculture or livestock production (or available for such production) and which is subject to a restriction that such property remain available for such production,
 shall be allowed to the extent the aggregate of such contributions does not exceed the excess of the taxpayer’s taxable income over the amount of charitable contributions allowable under subparagraph (A).
(ii) Carryover If the aggregate amount of contributions described in clause (i) exceeds the limitation of clause (i), such excess shall be treated (in a manner consistent with the rules of subsection (d)(2)) as a charitable contribution to which clause (i) applies in each of the 15 succeeding years in order of time.
(iii) Termination This subparagraph shall not apply to any contribution made in taxable years beginning after December 31, 2011.
(C) Taxable income
For purposes of this paragraph, taxable income shall be computed without regard to—
(i) this section,
(ii) part VIII (except section 248),
(iii) any net operating loss carryback to the taxable year under section 172,
(iv) section 199, and
(v) any capital loss carryback to the taxable year under section 1212 (a)(1).
(3) Temporary suspension of limitations on charitable contributions
In the case of a qualified farmer or rancher (as defined in paragraph (1)(E)(v)), any charitable contribution of food—
(A) to which subsection (e)(3)(C) applies (without regard to clause (ii) thereof), and
(B) which is made during the period beginning on the date of the enactment of this paragraph and before January 1, 2009,
shall be treated for purposes of paragraph (1)(E) or (2)(B), whichever is applicable, as if it were a qualified conservation contribution which is made by a qualified farmer or rancher and which otherwise meets the requirements of such paragraph.
(c) Charitable contribution defined
For purposes of this section, the term “charitable contribution” means a contribution or gift to or for the use of—
(1) A State, a possession of the United States, or any political subdivision of any of the foregoing, or the United States or the District of Columbia, but only if the contribution or gift is made for exclusively public purposes.
(2) A corporation, trust, or community chest, fund, or foundation—
(A) created or organized in the United States or in any possession thereof, or under the law of the United States, any State, the District of Columbia, or any possession of the United States;
(B) organized and operated exclusively for religious, charitable, scientific, literary, or educational purposes, or to foster national or international amateur sports competition (but only if no part of its activities involve the provision of athletic facilities or equipment), or for the prevention of cruelty to children or animals;
(C) no part of the net earnings of which inures to the benefit of any private shareholder or individual; and
(D) which is not disqualified for tax exemption under section 501 (c)(3) by reason of attempting to influence legislation, and which does not participate in, or intervene in (including the publishing or distributing of statements), any political campaign on behalf of (or in opposition to) any candidate for public office.
A contribution or gift by a corporation to a trust, chest, fund, or foundation shall be deductible by reason of this paragraph only if it is to be used within the United States or any of its possessions exclusively for purposes specified in subparagraph (B). Rules similar to the rules of section 501 (j) shall apply for purposes of this paragraph.
(3) A post or organization of war veterans, or an auxiliary unit or society of, or trust or foundation for, any such post or organization—
(A) organized in the United States or any of its possessions, and
(B) no part of the net earnings of which inures to the benefit of any private shareholder or individual.
(4) In the case of a contribution or gift by an individual, a domestic fraternal society, order, or association, operating under the lodge system, but only if such contribution or gift is to be used exclusively for religious, charitable, scientific, literary, or educational purposes, or for the prevention of cruelty to children or animals.
(5) A cemetery company owned and operated exclusively for the benefit of its members, or any corporation chartered solely for burial purposes as a cemetery corporation and not permitted by its charter to engage in any business not necessarily incident to that purpose, if such company or corporation is not operated for profit and no part of the net earnings of such company or corporation inures to the benefit of any private shareholder or individual.
For purposes of this section, the term “charitable contribution” also means an amount treated under subsection (g) as paid for the use of an organization described in paragraph (2), (3), or (4).
(d) Carryovers of excess contributions
(1) Individuals
(A) In general
In the case of an individual, if the amount of charitable contributions described in subsection (b)(1)(A) payment of which is made within a taxable year (hereinafter in this paragraph referred to as the “contribution year”) exceeds 50 percent of the taxpayer’s contribution base for such year, such excess shall be treated as a charitable contribution described in subsection (b)(1)(A) paid in each of the 5 succeeding taxable years in order of time, but, with respect to any such succeeding taxable year, only to the extent of the lesser of the two following amounts:
(i) the amount by which 50 percent of the taxpayer’s contribution base for such succeeding taxable year exceeds the sum of the charitable contributions described in subsection (b)(1)(A) payment of which is made by the taxpayer within such succeeding taxable year (determined without regard to this subparagraph) and the charitable contributions described in subsection (b)(1)(A) payment of which was made in taxable years before the contribution year which are treated under this subparagraph as having been paid in such succeeding taxable year; or
(ii) in the case of the first succeeding taxable year, the amount of such excess, and in the case of the second, third, fourth, or fifth succeeding taxable year, the portion of such excess not treated under this subparagraph as a charitable contribution described in subsection (b)(1)(A) paid in any taxable year intervening between the contribution year and such succeeding taxable year.
(B) Special rule for net operating loss carryovers
In applying subparagraph (A), the excess determined under subparagraph (A) for the contribution year shall be reduced to the extent that such excess reduces taxable income (as computed for purposes of the second sentence of section 172 (b)(2)) and increases the net operating loss deduction for a taxable year succeeding the contribution year.
(2) Corporations
(A) In general
Any contribution made by a corporation in a taxable year (hereinafter in this paragraph referred to as the “contribution year”) in excess of the amount deductible for such year under subsection (b)(2)(A) shall be deductible for each of the 5 succeeding taxable years in order of time, but only to the extent of the lesser of the two following amounts:
(i) the excess of the maximum amount deductible for such succeeding taxable year under subsection (b)(2)(A) over the sum of the contributions made in such year plus the aggregate of the excess contributions which were made in taxable years before the contribution year and which are deductible under this subparagraph for such succeeding taxable year; or
(ii) in the case of the first succeeding taxable year, the amount of such excess contribution, and in the case of the second, third, fourth, or fifth succeeding taxable year, the portion of such excess contribution not deductible under this subparagraph for any taxable year intervening between the contribution year and such succeeding taxable year.
(B) Special rule for net operating loss carryovers
For purposes of subparagraph (A), the excess of—
(i) the contributions made by a corporation in a taxable year to which this section applies, over
(ii) the amount deductible in such year under the limitation in subsection (b)(2)(A),
shall be reduced to the extent that such excess reduces taxable income (as computed for purposes of the second sentence of section 172 (b)(2)) and increases a net operating loss carryover under section 172 to a succeeding taxable year.
(e) Certain contributions of ordinary income and capital gain property
(1) General rule
The amount of any charitable contribution of property otherwise taken into account under this section shall be reduced by the sum of—
(A) the amount of gain which would not have been long-term capital gain (determined without regard to section 1221 (b)(3)) if the property contributed had been sold by the taxpayer at its fair market value (determined at the time of such contribution), and
(B) in the case of a charitable contribution—
(i) of tangible personal property—
(I) if the use by the donee is unrelated to the purpose or function constituting the basis for its exemption under section 501 (or, in the case of a governmental unit, to any purpose or function described in subsection (c)), or
(II) which is applicable property (as defined in paragraph (7)(C), but without regard to clause (ii) thereof) which is sold, exchanged, or otherwise disposed of by the donee before the last day of the taxable year in which the contribution was made and with respect to which the donee has not made a certification in accordance with paragraph (7)(D),
(ii) to or for the use of a private foundation (as defined in section 509 (a)), other than a private foundation described in subsection (b)(1)(F),
(iii) of any patent, copyright (other than a copyright described in section 1221 (a)(3) or 1231 (b)(1)(C)), trademark, trade name, trade secret, know-how, software (other than software described in section 197 (e)(3)(A)(i)), or similar property, or applications or registrations of such property, or
(iv) of any taxidermy property which is contributed by the person who prepared, stuffed, or mounted the property or by any person who paid or incurred the cost of such preparation, stuffing, or mounting,
the amount of gain which would have been long-term capital gain if the property contributed had been sold by the taxpayer at its fair market value (determined at the time of such contribution).
For purposes of applying this paragraph (other than in the case of gain to which section 617 (d)(1), 1245 (a), 1250 (a), 1252 (a), or 1254 (a) applies), property which is property used in the trade or business (as defined in section 1231 (b)) shall be treated as a capital asset. For purposes of applying this paragraph in the case of a charitable contribution of stock in an S corporation, rules similar to the rules of section 751 shall apply in determining whether gain on such stock would have been long-term capital gain if such stock were sold by the taxpayer.
(2) Allocation of basis
For purposes of paragraph (1), in the case of a charitable contribution of less than the taxpayer’s entire interest in the property contributed, the taxpayer’s adjusted basis in such property shall be allocated between the interest contributed and any interest not contributed in accordance with regulations prescribed by the Secretary.
(3) Special rule for certain contributions of inventory and other property
(A) Qualified contributions
For purposes of this paragraph, a qualified contribution shall mean a charitable contribution of property described in paragraph (1) or (2) of section 1221 (a), by a corporation (other than a corporation which is an S corporation) to an organization which is described in section 501 (c)(3) and is exempt under section 501 (a) (other than a private foundation, as defined in section 509 (a), which is not an operating foundation, as defined in section 4942 (j)(3)), but only if—
(i) the use of the property by the donee is related to the purpose or function constituting the basis for its exemption under section 501 and the property is to be used by the donee solely for the care of the ill, the needy, or infants;
(ii) the property is not transferred by the donee in exchange for money, other property, or services;
(iii) the taxpayer receives from the donee a written statement representing that its use and disposition of the property will be in accordance with the provisions of clauses (i) and (ii); and
(iv) in the case where the property is subject to regulation under the Federal Food, Drug, and Cosmetic Act, as amended, such property must fully satisfy the applicable requirements of such Act and regulations promulgated thereunder on the date of transfer and for one hundred and eighty days prior thereto.
(B) Amount of reduction
The reduction under paragraph (1)(A) for any qualified contribution (as defined in subparagraph (A)) shall be no greater than the sum of—
(i) one-half of the amount computed under paragraph (1)(A) (computed without regard to this paragraph), and
(ii) the amount (if any) by which the charitable contribution deduction under this section for any qualified contribution (computed by taking into account the amount determined in clause (i), but without regard to this clause) exceeds twice the basis of such property.
(C) Special rule for contributions of food inventory
(i) General rule In the case of a charitable contribution of food from any trade or business of the taxpayer, this paragraph shall be applied—
(I) without regard to whether the contribution is made by a C corporation, and
(II) only to food that is apparently wholesome food.
(ii) Limitation In the case of a taxpayer other than a C corporation, the aggregate amount of such contributions for any taxable year which may be taken into account under this section shall not exceed 10 percent of the taxpayer’s aggregate net income for such taxable year from all trades or businesses from which such contributions were made for such year, computed without regard to this section.
(iii) Apparently wholesome food For purposes of this subparagraph, the term “apparently wholesome food” has the meaning given to such term by section 22(b)(2) of the Bill Emerson Good Samaritan Food Donation Act (42 U.S.C. 1791 (b)(2)), as in effect on the date of the enactment of this subparagraph.
(iv) Termination This subparagraph shall not apply to contributions made after December 31, 2011.
(D) Special rule for contributions of book inventory to public schools
(i) Contributions of book inventory In determining whether a qualified book contribution is a qualified contribution, subparagraph (A) shall be applied without regard to whether the donee is an organization described in the matter preceding clause (i) of subparagraph (A).
(ii) Qualified book contribution For purposes of this paragraph, the term “qualified book contribution” means a charitable contribution of books to a public school which is an educational organization described in subsection (b)(1)(A)(ii) and which provides elementary education or secondary education (kindergarten through grade 12).
(iii) Certification by donee Subparagraph (A) shall not apply to any contribution of books unless (in addition to the certifications required by subparagraph (A) (as modified by this subparagraph)), the donee certifies in writing that—
(I) the books are suitable, in terms of currency, content, and quantity, for use in the donee’s educational programs, and
(II) the donee will use the books in its educational programs.
(iv) Termination This subparagraph shall not apply to contributions made after December 31, 2011.
(E) This paragraph shall not apply to so much of the amount of the gain described in paragraph (1)(A) which would be long-term capital gain but for the application of sections 617, 1245, 1250, or 1252.
(4) Special rule for contributions of scientific property used for research
(A) Limit on reduction
In the case of a qualified research contribution, the reduction under paragraph (1)(A) shall be no greater than the amount determined under paragraph (3)(B).
(B) Qualified research contributions
For purposes of this paragraph, the term “qualified research contribution” means a charitable contribution by a corporation of tangible personal property described in paragraph (1) of section 1221 (a), but only if—
(i) the contribution is to an organization described in subparagraph (A) or subparagraph (B) of section 41 (e)(6),
(ii) the property is constructed or assembled by the taxpayer,
(iii) the contribution is made not later than 2 years after the date the construction or assembly of the property is substantially completed,
(iv) the original use of the property is by the donee,
(v) the property is scientific equipment or apparatus substantially all of the use of which by the donee is for research or experimentation (within the meaning of section 174), or for research training, in the United States in physical or biological sciences,
(vi) the property is not transferred by the donee in exchange for money, other property, or services, and
(vii) the taxpayer receives from the donee a written statement representing that its use and disposition of the property will be in accordance with the provisions of clauses (v) and (vi).
(C) Construction of property by taxpayer
For purposes of this paragraph, property shall be treated as constructed by the taxpayer only if the cost of the parts used in the construction of such property (other than parts manufactured by the taxpayer or a related person) do not exceed 50 percent of the taxpayer’s basis in such property.
(D) Corporation
For purposes of this paragraph, the term “corporation” shall not include—
(i) an S corporation,
(ii) a personal holding company (as defined in section 542), and
(iii) a service organization (as defined in section 414 (m)(3)).
(5) Special rule for contributions of stock for which market quotations are readily available
(A) In general
Subparagraph (B)(ii) of paragraph (1) shall not apply to any contribution of qualified appreciated stock.
(B) Qualified appreciated stock
Except as provided in subparagraph (C), for purposes of this paragraph, the term “qualified appreciated stock” means any stock of a corporation—
(i) for which (as of the date of the contribution) market quotations are readily available on an established securities market, and
(ii) which is capital gain property (as defined in subsection (b)(1)(C)(iv)).
(C) Donor may not contribute more than 10 percent of stock of corporation
(i) In general In the case of any donor, the term “qualified appreciated stock” shall not include any stock of a corporation contributed by the donor in a contribution to which paragraph (1)(B)(ii) applies (determined without regard to this paragraph) to the extent that the amount of the stock so contributed (when increased by the aggregate amount of all prior such contributions by the donor of stock in such corporation) exceeds 10 percent (in value) of all of the outstanding stock of such corporation.
(ii) Special rule For purposes of clause (i), an individual shall be treated as making all contributions made by any member of his family (as defined in section 267 (c)(4)).
(6) Special rule for contributions of computer technology and equipment for educational purposes
(A) Limit on reduction
In the case of a qualified computer contribution, the reduction under paragraph (1)(A) shall be no greater than the amount determined under paragraph (3)(B).
(B) Qualified computer contribution
For purposes of this paragraph, the term “qualified computer contribution” means a charitable contribution by a corporation of any computer technology or equipment, but only if—
(i) the contribution is to—
(I) an educational organization described in subsection (b)(1)(A)(ii),
(II) an entity described in section 501 (c)(3) and exempt from tax under section 501 (a) (other than an entity described in subclause (I)) that is organized primarily for purposes of supporting elementary and secondary education, or
(III) a public library (within the meaning of section 213(1)(A) of the Library Services and Technology Act (20 U.S.C. 9122 (1)(A))),[1] as in effect on the date of the enactment of the Community Renewal Tax Relief Act of 2000), established and maintained by an entity described in subsection (c)(1),
(ii) the contribution is made not later than 3 years after the date the taxpayer acquired the property (or in the case of property constructed or assembled by the taxpayer, the date the construction or assembling of the property is substantially completed),
(iii) the original use of the property is by the donor or the donee,
(iv) substantially all of the use of the property by the donee is for use within the United States for educational purposes that are related to the purpose or function of the donee,