Lithium is used for doping silicon for radiation hardened solar cells. The lithium presence anneals defects in the lattice produced by protons and neutrons. Lithium can be introduced to boron-doped p+ silicon, in amounts low enough to maintain the p character of the material, or in large enough amount to counterdope it to low-resistivity n type.