County Undersheriff Kelly Martinez Thursday evening was leading in the race for sheriff with 38% percent of the vote, according to the Registrar of Voters website.
With 165,274 votes counted, Martinez was ahead of six other candidates vying for sheriff in Tuesday's election, following the retirement earlier this year of longtime sheriff's department head Bill Gore.
This story is part of NBC 7's live coverage of the 2022 Primary Election in San Diego County. Click here for the live blog
Get San Diego local news, weather forecasts, sports and lifestyle stories to your inbox. Sign up for NBC San Diego newsletters.