God Brahmā (Brahma) organised a mahāyajña (mahayajna; a great fire-ritual) on the body of Gayāsura (Gayasura). He created a number of wise and learned sages from his mind, in order to get them perform as priests for that yajña. Ṛṣabha (Rishabha) was one of these children emanated from Brahmā’s mind. He performed as a priest in this yajña of Brahmā.