SAN FRANCISCO (AP) — The gap widened between the leading candidates in the race for San Francisco mayor, but it is still too close to call.

London Breed, the president of the Board of Supervisors, led former state Sen. Mark Leno by 1,580 votes on Sunday. Numbers released Breed at 103,388 votes, 50.38 percent, over Leno’s 101,808 votes, 49.62 percent

READ MORE: Brush Fire Burns In North San Jose, Milpitas Along Coyote Creek Area

The lead has changed hands in recent days. Leno had a margin of fewer than 150 votes on Friday and Breed captured the lead Saturday with nearly 500 more votes.

Election officials say approximately 25,000 ballots need to be counted.

READ MORE: Drought Depleting Bay Area Reservoirs, Driving Urgent Need For Conservation

Under the city’s unusual ranked-choice voting system, voters select their top-three favorites.

The candidates with the least votes are eliminated in rounds until there’s a winner. The person with the most first-place votes isn’t necessarily the winner.

MORE NEWS: Bureau Of Land Management Tighten Protections Against Illegal Resale Of Wild Horses; Advocates Skeptical

© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.