Old English scīrgerēfa became Middle English shirreve on its way to sheriff.
Sources
- Merriam-Webster: sheriff
Old English scīr and gerēfa supply shire and reeve, a local official.
- Merriam-Webster: shire
The noun denotes an administrative subdivision and continues Old English scīr.
- Merriam-Webster: reeve
The local administrative title continues Old English gerēfa.
- Online Etymology Dictionary: shire
shire is from Old English scir, "district, province"; sheriff links to it
- Online Etymology Dictionary · sheriff
Meanings of the older forms on the word path.