LOS ANGELES (AP) — Progressive city council member Nithya Raman has advanced to a November runoff against Los Angeles Mayor Karen Bass, setting up an unexpected matchup between two Democrats and former political allies to run the struggling city of nearly 4 million.

The outcome means Spencer Pratt, a Republican and former reality television personality from “The Hills,” is out of the running. His candidacy had drawn national attention because of his celebrity and willingness to challenge liberal governance in a city dominated by Democrats, but the buzz did not translate into enough votes to make the runoff.