Caodong school
Twenty-four different Zen lineages are recorded to be transmitted to Japan. Only three survived until today. Sōtō was transmitted to Japan by Dōgen, who travelled to China for Chan training in the 13th century. After receiving Dharma transmission in the Caodong school, he returned to Japan and established the lineage there, where it is called the Sōtō.