Huayan school
Chinese Chán was profoundly influenced by it, though Chán also defined itself by distinguishing itself from Huayan. Tsung-mi, the Fifth Patriarch of the Huayan school, also occupies a prominent position in the history of Chán. During the Song, the Huayan metaphysics were completely assimilated by the Chán-school.