>>3874903 (lb)
Yes they are both Law enforcement per se, but they have different authorities directing the,
The Governor directs the AG,, who directs the Chief of police who directs officers. Police when you really get down to the root word, it has to do with any officer of the Polis/City State. So in essence the city dog catcher or city mortician is a police officer.
The Sheriff on the other hand is elected by the people to enforce the law. His allegiance is to them, and to the constitution, the document that ordains his power. Sheriffs do not control police officers, but deputies.