Was Mary Magdalene Wife of Jesus? Was Mary Magdalene a Prostitute?

Was Mary Magdalene a prostitute who repented or simply an influential female follower of Jesus? Mary from Magdala has popularly been saddled with an unfavorable reputation, but how did this notion come about?