Vimalamitra was one of the most learned monks among the five hundred scholars who lived near Vajrasana, where the Buddha attained enlightenment. In fulfillment of a prophesy which he received from Vajrasattva in a pure vision, he went to China and for twenty years received the teachings of the First Three Categories, the Outer, Inner and Secret Categories of the Great Perfection, from Srisinha and then returned to India. Then, in fulfillment of a prophecy given by a Dakini, Vimalamitra went to J