7 And war broke out in heaven; Michael and his angels fought against the dragon. The dragon and his angels fought back, 8 but they were defeated, and there was no longer any place for them in heaven.
I found the timeline of this a bit confusing; it does appear that at the beginning the woman exists in some kind of astronomic frame with the symbols of the sun, moon and stars in the imagery, denoting outer space. The dragon's tail sweeps a third of the stars out of the sky; if this signifies all the angels that fought against God when Lucifer rebelled against Him this would suggest a tremendous amount of beings were banished to Hell by God for their rebellion.