City official fired for sexual harassment