A writ by which tbe charge of a county, to-gether with tbe keeping of a castle, is com-mitted to the sheriff.