Mary Magdalene was a woman from whom Jesus cast out seven demons (Luke 8:2). The name Magdalene likely indicates that she came from Magdala, a city on the southwest coast of the Sea of Galilee. After Jesus cast seven demons from her, she became one of His followers.
Mary Magdalene has been associated with the "woman in the city who was a sinner" (Luke 7:37) who washed Jesus’ feet, but there is no scriptural basis for this. The city of Magdala did have a reputation for prostitution. This information, coupled with the fact that Luke first mentions Mary Magdalene immediately following his account of the sinful woman (Luke 7:36-50), has led some to equate the two women. But there is no scriptural evidence to support this idea. Mary Magdalene is nowhere identified as a prostitute or as a sinful woman, despite popular portrayals of her as such.
Mary Magdalene is also often associated with the woman whom Jesus saved from stoning after she had been taken in adultery (John 8:1-11). But again this is an association with no evidence. The movie “The Passion of the Christ” made this connection. This view is possible, but not likely and certainly not taught in the Bible.
Mary Magdalene witnessed most of the events surrounding the crucifixion. She was present at the mock trial of Jesus; she heard Pontius Pilate pronounce the death sentence; and she saw Jesus beaten and humiliated by the crowd. She was one of the women who stood near Jesus during the crucifixion to try to comfort Him. The earliest witness to the resurrection of Jesus, she was sent by Jesus to tell the others (John 20:11-18). Although this is the last mention of her in the Bible, she was probably among the women who gathered with the apostles to await the promised coming of the Holy Spirit (Acts 1:14).
The recent fiction novel “The DaVinci Code” makes the claim that Jesus and Mary Magdalene were married. Some of the non-biblical early Christian writings (considered heresy by the early Christians) hint at a special relationship between Mary Magdalene and Jesus. However, there is no evidence whatsoever to support the belief that Jesus and Mary Magdalene were married. The Bible does not even hint at such an idea.