Revelation 17 portrays the Great Harlot, Babylon the Great, sitting on a Scarlet Beast. Babylon religion began in Ancient Times, moved to pagan Rome and introduced paganism into the Christian Church. The last of eighth kings will be the Beast.
The Woman Clothed with the Sun of Revelation 12 symbolized God's people, Israel in the Old Testament and the Christian Church in the New Testament. Satan, symbolized by a dragon, persecuted the woman during the 1260 years of the Middle Ages but God protected a remnant who were faithful to Him.