Ratnavajra was originally a Kashmiri brahmana who became a great Buddhist master. Taranatha relates a story of his patronage according to which he was the son of a brahmana named Haribhadra. The story runs as follows: Once a Kashmiri brahmana appeased Mahesvara. Thus, it was predicted that all his descendents would become renowned scholars. The prophecy came through and amongst this twenty-five descendants the last was Brahmana Haribhadra. This brahmana once entered in a debate with Buddhists having staked his own creed. He was defeated in debate, as a result of which he was converted to Buddhism. Having become a Buddhist, he acquired proficiency in the doctrine. Ratnavajra was son of this converted brahmana.