Updated Nov. 4

Mike Gleason has been elected Williamson County sheriff, according to unofficial results.

With all of the county’s precincts reporting, Gleason took 56.03% of the votes. His opponent and current sheriff Robert Chody took 43.97% of the votes.

About 269,285 votes were counted.

The battle for county sheriff has been a contentious one with Chody recently indicted for evidence tampering in the case of Javier Ambler, a man who died in sheriff's office custody. Chody has maintained his innocence.

Chody also faces a separate legal battle with the county commissioners and his contract dealings with “Live PD” and Big Fish Entertainment LLC.

Chody won in 2016 after running unopposed.

Results are updated as of 11:40 p.m., and are unofficial until they are canvassed and certified by the county clerk. Under Texas Election law, the clerk accepts and counts mail-in ballots postmarked by Election Day and received by Nov. 4, if they were sent from inside the U.S., or Nov. 9, if they were sent from outside the U.S.

Visit communityimpact.com/voter-guide/election-results to see results from all local elections in your community.

Editor's note: This story was updated to correct the headline, which originally said Williamson County commissioner.