According to the Anthology of the Patriarchal Hall, Bodhidharma left the Liang court in 527 and relocated to Mount Song near Luoyang and the Shaolin Monastery, where he faced a wall for nine years, not speaking for the entire time, his date of death can have been no earlier than 536. Moreover, his encounter with the Wei official indicates a date of death no later than 554, three years before the fall of the Western Wei.