By the mid-19th century, middle-class frustration with the deterioration of the cities had led to the passage of laws regulating public behavior and creating new public institutions of social control and coercion—penitentiaries, asylums, and police forces.