According to Scripture and Tradition
Saint Mary was not a harlot. She was not a sinful woman. She was a very holy woman. In fact, she was so virtuous, that the devil imagined she was to become the Theotokos. So, he unleashed his most violent attacks on her to defile her. But she withstood these temptations courageously.So, when the Lord cast out the demons that afflicted her, the Scripture means that He delivered her from all of these attacks...
Some More History...
After the Resurrection, St. Mary Magdalene went to Rome. Tradition teaches that when Mary first met the Roman emperor, Tiberius Caesar, she held a plain egg in her hand and greeted him with the words, “christ is risen!”
Tiberius exclaimed: “how can someone rise from the dead? This is hard to believe. It is just as likely that Christ rose from the dead as it is that the egg you are holding will turn red.”
Even as he spoke, the egg turned a brilliant red! She then preached the good news of Jesus Christ to the emperor and the imperial household.
St. Mary Magdalene left Rome for the city of Ephesus, where she died and was buried by the Bishop there, the Apostle John (the Theologian)! Emperor Leo the Wise later moved her relics to Constantinople.
This is an amazing account, especially for myself coming from Papism where you are told that Mary Magdalene was a harlot. I have had priests both in Seminary and in churches tell me that "She was the woman caught in adultry" and also that she "might have been the woman with the 7 demons, but we can't be sure"... But never have I heard from the lips of a Roman the Resurrection account with Tiberius... just that she "left her sinful ways and converted". As I said, very interesting.
Juvenaly