Hereditary sheriff