The election will test whether voters in the heavily Democratic city want to move further to the political left to address long-running problems of homelessness, buckled streets and sidewalks and climbing rent and home prices.
Nithya Raman, a progressive Democrat who entered the mayoral race at the last minute, secured the second spot to face Mayor Karen Bass in November. Her comeback sets up an intraparty battle.