Williamson County Attorney Jana Duty scored a decisive win over incumbent John Bradley in the race for Williamson County district attorney, according to unofficial results.

With 28,546 votes counted, Duty took in nearly 55 percent of the unofficial vote tally. She won by nearly 3,000 votes.

Neither Duty nor Bradley were available immediately for comment, but if the unofficial results stand up, she will face Democrat Ken Crain in the November election.

The Bradley-Duty race has been one marked by controversy, though little of it having to do with the race itself.

Bradley has come under fire—including from Duty—for his handling of the Michael Morton case, which involved a man who spent 25 years in prison for killing his wife before being exonerated by DNA evidence. Bradley did not prosecute the initial case, but as district attorney, he was involved in the appeals process.

Duty, meanwhile, was reprimanded in December by the State Bar of Texas, which said she "committed professional misconduct" for releasing confidential information from a Commissioners Court executive session.

She also publicly clashed with Williamson County Commissioners, including filing a lawsuit to remove County Judge Dan Gattis from office. The suit was dismissed.

Duty has also spoken out about trying to stop or change the "good old boy politics" in Williamson County, which led to many of her clashes with the court, but also carried favor with a strong segment of voters.