Emperor Wu of Liang
In the "Anthology of the Patriarchal Hall" (祖堂集 "Zǔtángjí") of 952, the elements of the traditional Bodhidharma story are in place. Bodhidharma is said to have been a disciple of Prajñātāra, thus establishing the latter as the 27th patriarch in India. After a three-year journey, Bodhidharma reached China in 527, during the Liang (as opposed to the Song in Daoxuan's text). The "Anthology of the Patriarchal Hall" includes Bodhidharma's encounter with Emperor Wu of Liang, which was first recorded around 758 in the appendix to a text by Shenhui (), a disciple of Huineng.