I inherited two annuities upon my mother's death. I received 1099R as distribution codes4D. I put them into new annuities. Do I have to pay the tax on them?

State inheritance tax was paid on them