Method for production of polymer and carbon nanofibers from water-soluble polymers.