SAN FRANCISCO—In a show of solidarity, two rival district attorney candidates joined forces on the steps of the Hall of Justice on Friday to call on Mayor London Breed to appoint the winner of next week’s election immediately after certification, rather than wait until the start of the new year.

With the hotly contested district attorney race just days away, Leif Dautch and Chesa Boudin vocalized their frustration with the appointment of candidate Suzy Loftus as interim district attorney and formally requested that Breed install the election’s winner after the results are tallied.