Teichoic acids and acidic capsular polysaccharides are major anionic cell wall polymers (APs) in many bacteria, with various critical cell functions, including maintenance of cell shape and structural integrity, charge and cation homeostasis, and multiple aspects of pathogenesis. We have identified the widespread LytR-Cps2A-Psr (LCP) protein family, of previously unknown function, as novel enzymes required for AP synthesis. Structural and biochemical analysis of several LCP proteins suggest that they carry out the final step of transferring APs from their lipid-linked precursor to cell wall peptidoglycan (PG). In Bacillus subtilis, LCP proteins are found in association with the MreB cytoskeleton, suggesting that MreB proteins coordinate the insertion of the major polymers, PG and AP, into the cell wall.