It could be that he was given special powers by God because of the name he picked for himself, the mother of Jesus.
He was a grifter, or deluded.