San Francisco Mayor London Breed on Friday appointed Suzy Loftus as interim district attorney following Gascon’s resignation a day earlier, shaking up the race for the city’s next top prosecutor just one month before voters go to the polls.

“When I received the letter yesterday from the district attorney announcing his resignation, I couldn’t help but get excited about the future because I know that Suzy Loftus is the right person to do it,” Breed said at a press conference at the Far East Cafe in Chinatown. “We don’t just leave an office open just because there’s an election coming up.”