Santa Clara Mayor Lisa Gillmor appears on track to be reelected by fewer than 200 votes.

With all precincts in the city reporting as of Wednesday afternoon, Gillmor held a tenuous 50.5 percent to 49.5 percent lead over Santa Clara City Councilman Anthony Becker, with the two separated by only 166 votes.

Becker, a content moderator at an information technology company, ran against Gillmor, a real estate broker, for mayor in 2018 and was elected to the council in 2020.

The campaign was marked by massive spending that included more than $4.5 million in contributions from the San Francisco 49ers organization and CEO Jed York to defeat Gillmor. The mayor also had several large backers, including a $250,000 donation from The Related Companies, which benefited from a 240-acre development deal Gillmor helped engineer.

In their 2018 contest, Gillmor beat Becker in a blowout with 74.2 percent of the vote.

Just over half of ballots countywide had been counted as of 5 p.m. Wednesday. Santa Clara County election officials plan to issue updated vote totals by 5 p.m. Thursday.