Abhayākaragupta was born in the city of Gaur, West Bengal, in Eastern India and is thought to have flourished in the late 11th-early 12th century CE, and died in 1125. As a youth he went to the country of Magadha in Central India, "where he learned the five sciences and became well known as a pandit." During the reign of King Rāmapāla (c. 1075-1120), there was a great revival of Buddhism under Abhayākaragupta. He taught at the great Vikramaśīla University as well as at Vajraśana (Bodh Gaya) and Odantapuri. He is credited with many miracles including feeding the starving in the city of Sukhavati from his mendicant bowl which was replenished from heaven, and brought a dead child to life in the great cemetery of Himavana.
About a century after the Kalachakra is thought to have been written, Abhayākaragupta put the Mantrayana-Madhyamaka doctrine in its final form. He composed the Ocean of Means of Achievement "directed by Manjusri", and many other books including the Ornament to the Subduer's Thought, which is a commentary on Maitreya's Ornament for Clear Realization. In his book Niṣpannayogāvalī, he explained how to draw 26 kinds of mandalas, "describing the titles and figures of Buddhas and divine beings and their seeds, etc." Yogambara, is a tutelary deity in Tibetan Buddhism belonging to the Wisdom-mother class of the Anuttarayoga tantra. He was made famous in the Vajravali text of the Indian Pandita Abhayakaragupta and through the tradition of Marpa and Ngog lotsawa ('translator of the scriptures'). Abhayākaragupta's school of Buddhism flourished in India until the invasions of the Turks in the 13th century killed or scattered them; but his teachings were continued and revered in Tibet. In the lineage of the Tibetan Panchen Lamas there were considered to be four Indian and three Tibetan incarnations of Amitābha Buddha before Khedrup Gelek Pelzang, who is recognised as the 1st Panchen Lama. The lineage starts with Subhuti, one of the original disciples of Gautama Buddha.Abhayākaragupta is considered to be the fourth Indian incarnation of Amitabha Buddha in this line.