First the DNA replicates and a cytoplasmic membrane septum forms at one end of the cell. A second layer of cytoplasmic membrane then forms around one of the DNA molecules (the one that will become part of the endospore) to form a forespore. Both of these membrane layers then synthesize peptidoglycan in the space between them to form the first protective coat, the cortex. Calcium dipocolinate is also incorporated into the forming endospore. A spore coat composed of a keratin-like protein then forms around the cortex. Sometimes an outer membrane composed of lipid and protein and called an exosporium is also seen. Finally, the remainder of the bacterium is degraded and the endospore is released.