Capital gains treatment of Treasuries

I understand that interest from Treasuries is tax free at the state level. Does that also apply to any capital gains resulting from the sale of Treasuries for example? Or is it just the interest that gets special tax treatment, but not any capital gains. Thanks!