Swollen rivers in the U.S. Midwest and other regions brought flood warnings for over 12 million Americans on Wednesday as scores of buildings were submerged after days of intense rain in which 24 people have died.

Two rivers west of St. Louis crested at historic levels, flooding local towns, disabling sewer plants and forcing the evacuation of hundreds of residents.

Other major rivers including the Mississippi are expected to reach record highs as flood waters rush toward the Gulf of Mexico, the National Weather Service said.