A close contest is unfolding in the race for Texas attorney general. State Sen. Mayes Middleton, who spent heavily to secure the Republican nomination, is currently ahead in the polls. His lead over Democratic state Sen. Nathan Johnson is narrow, at just five percentage points.

More than a fifth of voters remain to be accounted for, indicating the outcome is still uncertain. Middleton's significant spending was aimed at building statewide recognition, but the latest polling suggests the race is tighter than expected.

Further details on the contest and polling results are available, providing insight into the unusually close race for the attorney general position.