sentences:  Otis was then elected Mayor of San Francisco in 1873 and was sworn in on December 1, 1873.He died of diphtheria in San Francisco on October 30, 1875, while still serving his term as mayor.He was the only mayor to die in office until George Moscone's assassination in 1978.