SAN FRANCISCO (AP) — The Latest on the San Francisco mayor's race (all times local):

5:20 p.m.

The contest for San Francisco mayor firmed up with eight candidates qualified to be on the June 5 ballot.

The eight include former state Sen. Mark Leno, acting Mayor London Breed, Supervisor Jane Kim and former Supervisor Angela Alioto. There are also four lesser-known candidates.

Eighteen others who had requested paperwork to run for mayor did not return candidacy papers before Tuesday's 5 p.m. deadline.

Mayor Ed Lee died suddenly of a heart attack in December, prompting officials to move up the date of an election that was not expected to happen until November 2019.

The person who wins in June will serve out the rest of Lee's term and can run in November 2019 for another four-year term.

___

12:30 p.m.

Eight candidates trying to be elected San Francisco's next mayor have qualified to run and another 18 potential candidates have until 5 p.m. today to make the ballot.

The candidates want to replace Mayor Ed Lee, a Democrat who died of a heart attack in December.

City officials Tuesday gave approval for eight candidates who submitted candidacy qualification paperwork. Eighteen more took out paperwork to run in the race and had until the end of Tuesday to submit it.

The next mayor will have to navigate deep divisions over the impact of economic growth on housing, traffic and livability.

The election will be held June 5.

San Francisco's median home value is nearly $1.3 million and the median rent is $4,400 monthly.

That prices out all but the wealthiest newcomers.