Liu Song dynasty
The accounts also differ on the date of his arrival, with one early account claiming that he arrived during the Liu Song dynasty (420–479) and later accounts dating his arrival to the Liang dynasty (502–557). Bodhidharma was primarily active in the territory of the Northern Wei (386–534). Modern scholarship dates him to about the early 5th century.