In general
The term “purchase” means any acquisition, but only if—
(i)#
the property is not acquired from a person related to the person acquiring such property (or, if married, such individual’s spouse), and
(ii)#
the basis of the property in the hands of the person acquiring such property is not determined—
(I) in whole or in part by reference to the adjusted basis of such property in the hands of the person from whom acquired, or
(II) under section 1014(a) (relating to property acquired from a decedent).
(ii)(I)#
in whole or in part by reference to the adjusted basis of such property in the hands of the person from whom acquired, or
(ii)(II)#
under section 1014(a) (relating to property acquired from a decedent).