A sulfur based active material has a core-shell structure including a hollow core and a porous carbon shell surrounding the hollow core. Sulfur is present in a portion of the hollow core. A polymer shell coating is formed on the porous carbon shell. The polymer shell coating includes nitrogen atoms that bond to carbon atoms of the porous carbon shell so that the porous carbon shell is a nitrogen-confused porous carbon shell.