The discovery of bacteria led to an understanding of the role of microbes in disease transmission. To stem the spread of disease, municipalities worked to create more sanitary conditions. Cities installed sanitary sewers and water-treatment systems. Local agencies cleaned streets and removed trash and contaminated waste. Establishing the most basic public health institutions — state boards of health and associations representing medical professionals — helped spur these sanitation reform efforts.