How a rural sheriff became a key player in the attorney general's fatal crash