For years after the American Revolution, the public opposed the creation of police departments, fearing that they would become forces of repression.