Instead, I contributed my equity to a CRUT. I paid zero capital gains taxes at that moment, and the CRUT pays zero capital gains taxes ever. Also, because a contribution to the trust is a contribution in part to charity (with proportions calculated according to actuarial figures of my life expectancy), I got a charitable tax deduction of many million dollars which I was able to carry forward for many years.
Each year I owe taxes on the 5% which the CRUT distributes to me every year, but since this is capital gains income, it is taxed at a very low rate -- which is effectively reduced even further because it is offset by the charitable deduction which I have been able to carry forward.
The net effect is that I'm paying capital gains taxes in a tiny trickle over the remainder of my lifetime, and I also got a giant charitable deduction to offset those capital gains taxes. When I die, the principal in the trust goes to charity. The IRS will never get the kind of bite at this equity that I would intuitively expect it to get.
I don't understand how this capital gains tax loophole could be beneficial to society. I think it should be removed from the tax code.
Another side effect of the CRUT I hadn't anticipated: Occasionally, I note the intrusive thought that my continued life is the one and only barrier which is keeping a decent amount of capital from serving charitable purposes right now. That's honestly pretty depressing sometimes.