From this article: It was not until the 1830s that the idea of a centralized municipal police department first emerged in the United States. In 1838, the city of Boston established the first American police force, followed by New York City in 1845, Albany, NY and Chicago in 1851, New Orleans and Cincinnati in 1853, Philadelphia in 1855, and Newark, NJ and Baltimore in 1857 (Harring 1983, Lundman 1980; Lynch 1984). By the 1880s all major U.S. cities had municipal police forces in place.
Maybe there is a better way to do things. Maybe we should abolish the police.