The basis of property (other than money) distributed by a partnership to a partner other than in liquidation of the partner’s interest shall, except as provided in paragraph (2), be its adjusted basis to the partnership immediately before such distribution.
The basis to the distributee partner of property to which paragraph (1) is applicable shall not exceed the adjusted basis of such partner’s interest in the partnership reduced by any money distributed in the same transaction.
For purposes of subsections (a), (b), and (c), a partner who acquired all or a part of his interest by a transfer with respect to which the election provided in section 754 is not in effect, and to whom a distribution of property (other than money) is made with respect to the transferred interest within 2 years after such transfer, may elect, under regulations prescribed by the Secretary, to treat as the adjusted partnership basis of such property the adjusted basis such property would have if the adjustment provided in section 743(b) were in effect with respect to the partnership property. The Secretary may by regulations require the application of this subsection in the case of a distribution to a transferee partner, whether or not made within 2 years after the transfer, if at the time of the transfer the fair market value of the partnership property (other than money) exceeded 110 percent of its adjusted basis to the partnership.
This section shall not apply to the extent that a distribution is treated as a sale or exchange of property under section 751(b) (relating to unrealized receivables and inventory items).
The amount of the reduction under paragraph (1) shall not exceed the amount by which the sum of the aggregate adjusted bases of the property and the amount of money of the distributed corporation exceeds the corporate partner’s adjusted basis in the stock of the distributed corporation.
For purposes of this subsection, the term “control” means ownership of stock meeting the requirements of section 1504(a)(2).
For purposes of paragraph (1), if a corporation acquires (other than in a distribution from a partnership) stock the basis of which is determined (by reason of being distributed from a partnership) in whole or in part by reference to subsection (a)(2) or (b), the corporation shall be treated as receiving a distribution of such stock from a partnership.
If the property held by a distributed corporation is stock in a corporation which the distributed corporation controls, this subsection shall be applied to reduce the basis of the property of such controlled corporation. This subsection shall be reapplied to any property of any controlled corporation which is stock in a corporation which it controls.