Such a simple word like sheriff hardly seems like it would elicit a convoluted origin. However, it is rather complicated. Somewhere between Old English and Middle English, the word evolved from the previous word scirgerefa, which literally meant "local official in a shire", as a combination of scir ("shire") and gerefa ("officer"). Scir, now, came from the Proto-Germanic word skiro, meaning "district", which derives from the Proto-Indo-European word for "to cut" (since districts were divided, or "cut"), ker. Meanwhile, gerefa was developing from the Germanic family of languages, but we're not exactly sure what it was before; only that it had vague military connotations. It seems to possibly be a portmanteau of the intensifier ge and the root rof", which may have meant "host" in the archaic form (like a battalion, almost). Meh. What we know for sure is that sheriff used to mean something like "army cutter".
Adam Aleksic, a leading contender for valedictorian of his high school, is a 210-month-old boy with disturbing interests in etymology, vexillology, geography, and law. Adam would like to one day visit Tajikistan and probably isn't spying for the Kyrgyz government.
The Etymology Nerd