The transforming principle is DNA
Avery, MacLeod and McCarty purified the substance from heat-killed Type III pneumococci that turns harmless unencapsulated bacteria into the encapsulated type. It showed no detectable protein and consisted principally, if not solely, of DNA, and the change it caused was passed on through later generations of bacteria.
As reported in: Avery, MacLeod, McCarty (1944). STUDIES ON THE CHEMICAL NATURE OF THE SUBSTANCE INDUCING TRANSFORMATION OF PNEUMOCOCCAL TYPES. Journal of Experimental Medicine. doi:10.1084/jem.79.2.137