>The first example of a statutory police force in the world was probably the High Constables of Edinburgh, formed in 1611 to police the streets of Edinburgh, then part of the Kingdom of Scotland. The constables, of whom half were merchants and half were craftsmen, were charged with enforcing 16 regulations relating to curfews, weapons, and theft.
That sounds a lot like businesses working with government to secure their property.
This replaced, rather then grew out of, a mishmash of informal local watchmen and constables.
https://en.m.wikipedia.org/wiki/Pinkerton_(detective_agency)
Fast forward to today and it’s very common for private security to be composed of ex-cops and former military, creating a very fluid dynamic of all policing as a paramilitary organization in support of capitalism.
https://en.m.wikipedia.org/wiki/Police