Yes, it was treasonous on the part of the partisan government officials
They should have worked with him instead of vilifying him.
More of the same, only worse on the way.
It’s the KGB who said, in their own internal documents, that McCarthy was a boon to their operations. It doesn’t get much more damning than that.