It is first found in Chinese texts, related to Chinese Tantric Buddhism, which was centred on the Buddha Vairocana and propagated by the three great masters Śubhakarasiṃha, Vajrabodhi, and Amoghavajra.
Vajrabodhi, an Indian monk famous for translating esoteric rituals into Chinese language