The bacterial enzymes FtsW and FtsI, encoded in the highly conserved dcw gene cluster, are considered to be universally essential for the synthesis of septal peptidoglycan (PG) during cell division. Here, we show that the pathogen Clostridioides difficile lacks a canonical FtsW/FtsI pair, and its dcw-encoded PG synthases have undergone a specialization to fulfill sporulation-specific roles, including synthesizing septal PG during the sporulation-specific mode of cell division. Although these enzymes are directly regulated by canonical divisome components during this process, dcw-encoded PG synthases and their divisome regulators are dispensable for cell division during normal growth. Instead, C. difficile uses a bifunctional class A penicillin-binding protein as the core divisome PG synthase, revealing a previously unreported role for this class of enzymes. Our findings support that the emergence of endosporulation in the Firmicutes phylum facilitated the functional repurposing of cell division factors. Moreover, they indicate that C. difficile, and likely other clostridia, assemble a distinct divisome that therefore may represent a unique target for therapeutic interventions.