IT WOULD act like an electromagnet even now
this same thing happens when we make use of solenoids. we have a wire wound around a hollow pipe , and that pipe would have air in it . as there is no natural vaccum here, the air will get ionised.. spreading charges .. around itself..