Confucian rituals were taught to students in newly founded schools by Sichuanese scholars, and Confucian temples were built.[28][29] The natives of Yunnan were instructed in Confucian ceremonies like weddings, matchmaking, funerals, ancestor worship, and kowtow by Sayyid Ajall. The native leaders has their "barbarian" clothing replaced by clothing given to them by Sayyid Ajall.[30][29]