Deductions & credits

Yes, capital gains would be taxed.  I was thinking the stock was given as a gift in which case there would not have been any capital gains.