SAN FRANCISCO (CBS SF) – Suzy Loftus conceded defeat in her bid to become San Francisco’s next district attorney, and congratulated her rival Chesa Boudin Saturday afternoon after a tight race.

Loftus tweeted that she lost the race, “but we won the support of so many San Franciscans who are demanding that our city work more effectively together to build safety.”

READ MORE: Santa Clara Shoe Store Ransacked in Late Night Smash-and-Grab Robbery

The race was too close to call until Saturday.

READ MORE: Mayor Schaaf Pushes to Reverse Oakland’s Police Cuts During Spike In Violence

In rank-choice voting, Loftus won 83,511 (49.2 percent), and Boudin finished with 85,950 (50.7 percent).

“People are hungry for change,” said Chesa Boudin, the public defender who beat three opponents for first choice votes in the race. “They’re hungry for a different, more humane, more effective approach to criminal justice that does more than just punish people in a revolving door.”

MORE NEWS: COVID Vaccine and Booster Resources for Bay Area Residents

Boudin ran very much as the anti-establishment candidate, and was the target of attack ads saying he would be easy on crime. Loftus was appointed to the job by Mayor London Breed just 17 days before the election.