It's your lucky day for learning: https://en.wikipedia.org/wiki/Slave_patrol
How can their function have been to "police" slaves, when policing hat not yet been invented and only evolved from those slave patrols? And how did governments keep order before slavery made the invention of "police" possible?
In any case, what does it matter what it evolved from?