Rev. 10:11
And he said unto me, Thou must prophesy again before many peoples, and nations, and tongues, and kings.
Jesus told this to John. I guess then, John was one of the Two Witnesses. The other one is Elijah, since John has the spirit of Elijah.