Democrat will be next mayor