Maternal infection may occur during labor (chorioamnionitis) or after birth (postpartum endometritis). Ruptured membranes are known to be a risk factor for subsequent maternal and neonatal infection.