officer of the law vs sheriff

officer of the law

sheriff

verb
  • To carry out the duties of a sheriff 

noun
  • A judge in the sheriff court, the court of a county or sheriffdom. 

  • A government official, usually responsible for law enforcement in their county and for administration of the county jail, sometimes an officer of the court, usually elected. 

  • (High Sheriff) An official of a shire or county office, responsible for carrying out court orders, law enforcement and other duties. 

How often have the words officer of the law and sheriff occurred in a corpus of books? (source: Google Ngram Viewer )