During the Yuan dynasty, the Mongol emperors made Tibetan Buddhism the official religion of China, and Tibetan lamas were given patronage at the court. Imperial support of Tibetan Vajrayana continued into the Ming and Qing dynasties. Today, esoteric traditions mostly exist at the margins of mainstream Chinese Buddhism. Though esoteric elements are part of mainstream Chinese Buddhism as well such as various rituals which make use of tantric mantra and dhāraṇī and the veneration of certain tantric deities like Cundi and Acala. According to Hsuan Hua, the most popular example of esoteric teachings still practiced in many Chan monasteries of East Asia is the "Śūraṅgama Sūtra" and its dhāraṇī, the Śūraṅgama Mantra, along with the Nīlakaṇṭha Dhāraṇī.